• Hello,
    I’m building a multilingual academy using MasterStudy (great plugin so far!), Polylang, and Elementor, and I’m facing an issue with inconsistent course URLs when Polylang is active.
    I have two languages: EN and IT.

    My EN courses archive page slug is “courses-page” while the translated IT page has the slug “it/archivio-corsi”.
    In the settings of MasterStudy I used the IT courses page with admin language set to IT and the EN page with language set to EN (it doesn’t seem to work honestly, if i switch to IT, the page is missing in the field).

    Issue
    Course URLs become inconsistent across the site:
    Single course URL: courses/course-en-01/ (works, but uses an unexpected /courses/ base)
    Course listing links in archives: courses-page/course-en-01/ (broken, but correct structure)
    Enroll button links: courses-page/course-en-01/20 (working correctly)

    When Polylang is deactivated, everything correctly uses:
    courses-page/course-en-01/

    Main concern
    The /courses/ base slug appears to be a default or fallback value, as it is not declared anywhere in my setup and I am not intentionally using it. It only appears when Polylang is active and overrides the expected structure causing broken links.

    Expected behavior
    All course-related URLs should consistently use:
    For EN: courses-page/course-en-01/
    For IT: it/archivio-corsi/corso-it-01/

    Question
    Is this /courses/ slug a default MasterStudy or Polylang rewrite rule, and is there a way to prevent it so that all course URLs consistently follow the custom archive slug?

    Thank you so much! I’m considering buying the Pro version but I really need to understand where this issue comes from now 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support juliastylemixthemes

    (@juliastylemixthemes)

    Hello,

    Thank you for reaching out.

    Courses archive page you can set from the MasterStudy LMS > settings > courses > general section by selecting the courses page. Is will be archive page for the courses. If the page works properly when the Poly lang page is not active, you need to check the Poly lang configs for archive pages, you can contact the plugin authors directly and check the plugin settings. The LMS plugin includes only one config for the courses archive page by default.

    Best regards

    Thread Starter adiemme

    (@adiemme)

    Thanks for your answer, I’ll try to figure it out on the Polylang plugin’s side.

    Plugin Support juliastylemixthemes

    (@juliastylemixthemes)

    You are welcome!

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.