• Resolved faremir

    (@faremir)


    Is there way to customize category or single course url (permalink)?
    I need to get by breadcrumbs (backlinks) from course to course category and this way by few pages right to main page. But the path to the category and then to the course does not match the site hierarchy and I didn’t find a way to customize those permalinks.
    I use Custom Permalinks plugin which let me manually redefine path in hierarchy of pages/posts even custom post types, but I don’t want to change something crucial in plugin because I don’t want to have to change it every plugin update.

Viewing 11 replies - 16 through 26 (of 26 total)
  • After changing the slug, did you flush the WordPress permalinks?
    If you face any issue with that plugin, create an issue on the GitHub repo.
    I’ll check and let you know.

    @fahimmurshed I don’t the issue is with your CPT plugin. I used another slug changer and the issue remained the same. Seems the issue is with Tutor LMS core with respect to how it handles the overview / QnA / Announcements URLs

    @fahimmurshed I confirm @singhgaurav note. Every permalinks manager plugin brokes tabs in single course page template.

    Additionally permalink change works only for single course template, if you go from there to the lesson, you can still see a default permalinks. Wird.

    Hello @piter92wzg,

    I apologize for the delay. I’m sorry to inform you that the permalink structure of our plugin is not ready for changing the course slug in all places like quiz, assignment, overview right now.

    We will need to modify the permalink structure to make it happen. Right now, our development team is over-occupied with some more important updates and fix. So it will time. I don’t have an ETA for this. But we will try to do that in our future updates. Hopefully, you will able to change the slug then.

    We appreciate your patient and cooperation.

    Regards

    Hi,

    Please do you have any update on the possibility to change the slugs (i.e courses) in urls?

    I am using multisite and tried to edit the Post-types.php file moving it a particular theme (since other sites are ok using the existing slugs), similar to the custom themes approach, however it does not work.

    Thanks.

    Hello @joswp

    You can try placing this code in your child themes functions.php file. .

    https://gist.github.com/nayeemparvezchowdhury/e3578dca25e827de7a6abf2eebd0da6a

    For further help, please send your query at [email protected]. Our dedicated support engineers will help you over there. .

    Many thanks @nayeeem

    I try to add this code from @nayeeem and it works only on public course pages, but if you login and enter in a course that you are enrolled if you mouse hover the lessons you will see that it still showing courses instead of my custom courses slug (added with @nayeeem
    code in my child theme)….

    How to fix this?

    Thanks!

    following. i have the same problem

    jgcasanova

    (@jgcasanova)

    Hi for everyone and @fahimmurshed

    I want to make a custom page to show all available courses, that is, I don’t want to use the default “courses” page.
    Therefore, I need to change the “courses” slug of the permalinks, but Tutor LMS does not have that option.

    My question is: Can I do it using the same method you show in your answer from a year ago?

    I mean: would it be enough to change “courses” to –> “cursos” in the Post_type.php file?

    That is, you would need to change:

    mywebsite.com/courses/curso-plantar-arboles/ to
    mywebsite.com/cursos/curso-plantar-arboles/

    Thank you in advance for your help

    • This reply was modified 4 years ago by jgcasanova.
    • This reply was modified 4 years ago by jgcasanova.
    enthousiastwpuser

    (@enthousiastwpuser)

    Hey,

    I would like a solution as well.
    If we use the code posted by @nayeeem it’s work for the singular CPT view of a course.

    So I can have:
    /programme/php-for-beginners-become-a-php-master/
    instead of
    /courses/php-for-beginners-become-a-php-master/

    But when we enter in the course the default slug is there again:
    /courses/grossesse-vignette/cours/local-development-environment-tools/
    instead of the custom /programme/ that I wanted

    Any help?

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Custom permalinks to courses’ is closed to new replies.