Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Existing course slugs not updated on change of Course Permalink Base and Lesson Permalink Base #576

Open
bernhardkaindl opened this issue Oct 3, 2023 · 1 comment

Comments

@bernhardkaindl
Copy link

bernhardkaindl commented Oct 3, 2023

@shewa12: The new feature to set the “Course Permalink Base” in 2.3.0 is not implemented/merged fully:

https://www.themeum.com/tutor-lms-update-v2-3-0/

The new feature only sets the Course Permalink Base of new courses, but it does not update the Course Permalink Base of already created courses in the database:

Hence, when you change the Course Permalink Base in the settings, existing courses will still have the Course URL Base of /courses/, not the one you’ve set, and thus, when to try to open the Course from Tutor Dashboard page, the new changed links in the Dashboard will point to nowhere and users get a 404 page.

After having set the new feature for changing the Course permalink base (the same happens with the lesson permalink base as well), from “courses” to “course”, I get this output:

wgetsave-headers https://backup3.powerakademie.at/course{s,}/2-lehrjahr-modul-2-die-macht-der-worte/lessons/lektionsentwurf/ -o-|grep -e HTTP -e cache
HTTP request sent, awaiting response200 OK
HTTP request sent, awaiting response404 Not Found

The OK request was for /courses/ and the 404 was for /course/ (but which was configured).

@bernhardkaindl
Copy link
Author

bernhardkaindl commented Oct 4, 2023

@shewa12 Maybe this would be fixed by merging these unmerged changes that didn't make it into the release 2.3.0: #564

@bernhardkaindl bernhardkaindl changed the title New Feature to set the “Course Permalink Base” in 2.3.0 is not implemented/merged fully: Existing course slugs not updated on change of Course Permalink Base and Lesson Permalink Base Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant