• Resolved tiflolabs

    (@tiflolabs)


    Hello,

    I’m evaluating the latest version of Masterstudy free with Polylang Pro (also the latest versión) in WordPress 6.9. My website has 2 languages, Spanish (main language) and English. Several links in the Spanish version do not load and I get 404 errors.

    I have configured the user-account page and linked it to the Spanish version (cuenta-usuario), and indicated this in Settings -> LMS Pages (permalinks have also been regenerated and the cache has been cleared).

    When checking the rewrite rules, I have identified a lot of Masterstudy related rules that do not make sense. Let’s look one example:

    (RULE) en/cuenta-usuario/(settings)/? --> (REWRITE) index.php?lms_template=stm-lms-user-settings&lang=en

    In this example I would expect instead:

    (RULE) es/cuenta-usuario/(settings)/? --> (REWRITE) index.php?lms_template=stm-lms-user-settings&lang=es

    On behalf of Masterstudy, is there any problem with generating links on multilingual pages?

    Thanks in advance.

    • This topic was modified 3 months, 3 weeks ago by tiflolabs.
    • This topic was modified 3 months, 3 weeks ago by tiflolabs. Reason: cuenta-usuario

    The page I need help with: [log in to see the link]

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

    (@tomstylemixthemes)

    Hello

    Masterstudy is fully compatible with multilingual setups. However, when using third-party multilingual plugins such as Polylang, all LMS-related pages (including the user account page) must be translated and assigned per language. If this is not done, WordPress rewrite rules may fall back to the default language, which can lead to incorrect prefixes and 404 errors.

    The rewrite rule you shared:

    en/cuenta-usuario/(settings)/? → index.php?lms_template=stm-lms-user-settings&lang=en

    usually appears when the account page exists only in Spanish, while Polylang attempts to generate the same structure for English without a corresponding translated page.

    Please make sure that the cuenta-usuario page has a proper English translation (for example, user-account) and that both pages are correctly linked in Polylang. Then, assign the Spanish account page under Settings → LMS Pages while the admin language is set to Spanish, and assign the English account page after switching the admin language to English. Once done, refresh permalinks by saving them again and clear all caches (plugin, server, and browser).

    After completing these steps, the URLs should be generated correctly per language, such as:
    es/cuenta-usuario/settings and en/user-account/settings. (can be completed from polylang)

    There are no known limitations on Masterstudy’s side regarding multilingual URL generation. Proper page translation and assignment in Polylang is essential for WordPress to build the correct rewrite rules.

    If the issue persists, please share screenshots of Settings → LMS Pages for both languages along with the account page URLs in Spanish and English, and we’ll be happy to investigate further.

    Kind regards

    Thread Starter tiflolabs

    (@tiflolabs)

    Hello,

    I have configured all the pages in Spanish:

    https://www.photo-pick.com/online/5B5fIRRO.link

    But when I switch to English, no English pages are shown, the selector only shows the pages in Spanish.

    https://www.photo-pick.com/online/gD5szmhQ.link

    Maybe, is there a bug with this?

    I assure you that I have created all pages (in Spanish & English), and correctly associated in Polylang. For example:

    https://www.photo-pick.com/online/Yuj6o6FI.link

    Thanks.

    Regards.

    Plugin Support TomStylemixThemes

    (@tomstylemixthemes)

    Hi @tiflolabs

    Could you please reach to the support team. There you can get more efficient assistance.
    Here is email address of support – [email protected]

    Kind regards

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

You must be logged in to reply to this topic.