-
Notifications
You must be signed in to change notification settings - Fork 125
If course hasn't launched yet, course links from lesson cards give a 404 #2856
Copy link
Copy link
Closed
Labels
[Component] Learn ThemeWebsite development issues related to the Learn theme.Website development issues related to the Learn theme.[Type] BugSomething isn't working on the Learn website.Something isn't working on the Learn website.
Milestone
Description
Summary
Content creators currently publish lessons even before the full course that they're part of has gone live. This allows learners to access single lessons without needing to wait until the whole course is available.
Issue
Now that the course name is linked from individual lesson cards on archive pages, if a lesson card links out to a course that hasn't yet been published, the user gets a 404 page. An example is the Advanced WordPress User course, which hasn't yet launched.
To replicate
- Go to https://learn.wordpress.org/lessons/ in an incognito window.
- Click on "Advanced WordPress User" on any lesson card, such as:
Result
404 not found.
Possible solutions
- Don't display course name on lesson cards until a course is launched, or
- Don't publish lessons until course is launched (not ideal as some courses take a while to launch, as they consist of many lessons)
Any other potential solutions?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Component] Learn ThemeWebsite development issues related to the Learn theme.Website development issues related to the Learn theme.[Type] BugSomething isn't working on the Learn website.Something isn't working on the Learn website.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
✅ Done
Status
Done