learnpress icon indicating copy to clipboard operation
learnpress copied to clipboard

Lesson preview URL does not include its course anymore

Open stissot opened this issue 1 year ago • 1 comments

Since upgrading LP from 4.2.1.1 to 4.2.2, when editing a lesson in the backoffice, the "Preview in a new tab" URL does not include its course.

With 4.2.2, the preview URL is now: /lesson/<lesson_slug>

With 4.2.1.1 it used to be: /course/<course_slug>/lesson/<lessong_slug>

Because of that, the content author doesn't see the lesson like it will be displayed to the enroled student in the frontoffice, with the course side navigation pane.

I've verified the lesson was added to the course, and I am using the same LP permalink settings as before:

  • Course: /course/sample-course/
  • Lesson /lesson/

Was this change intentional? Or is it a bug of the optimizations made in 4.2.2? Is it somehow configurable?

stissot avatar Mar 08 '23 08:03 stissot

Hi stissot,

We don't clear your mind. Can you provide us images, where you click the link error?

Thanks.

tungnxt89 avatar Mar 11 '23 03:03 tungnxt89