Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was experiencing a 'Too Many Redirects' error on course details pages when WPML String Translation was active in conjunction with Tutor LMS on their educational website. This issue did not occur on other pages or when WPML was deactivated.

Solution:
We identified two main issues causing the problem:
1) The necessary WPML addon for Tutor LMS Pro was not activated. We recommended activating this addon through Tutor LMS Pro -> Addons -> WPML.
2) There was a corruption in the database option '[tutor_option]course_permalink_base', which stores the base slug for courses. We fixed this by searching for this option in String Translation, changing the language, removing it, and then redefining it in the settings first in Arabic and then back to English. We also removed its Arabic definition from String Translation to prevent future issues.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 0 voices.

Last updated by mohabM-4 3 days, 14 hours ago.

Assisted by: Waqas Bin Hasan.

Author Posts
June 30, 2025 at 9:35 am #17182576

mohabM-4

Background of the issue:
I am trying to use WPML to translate some English words within Arabic content on my educational website. I am also using Tutor LMS to manage my courses. The issue occurs when I activate WPML String Translation and try to open any course details page, resulting in a 'Too Many Redirects' error. The issue only affects course details pages, while other pages work fine. When I deactivate WPML entirely, or just String Translation, the problem disappears. I have disabled the 'Translate custom post slugs' option, ensured clean slugs, deleted translatable strings for course slugs, and flushed permalink settings and caches, but the problem persists. It seems WPML String Translation is interfering with Tutor LMS course details URLs, causing the redirect loop. Example of a problematic URL: hidden link.

Symptoms:
I get a 'Too Many Redirects' error when trying to open any course details page with WPML String Translation active. The page does not load and keeps redirecting infinitely.

Questions:
Confirm whether WPML String Translation is known to interfere with Tutor LMS course URLs.
Provide clear steps to prevent String Translation from affecting course details URLs.
Suggest any recommended settings or custom code to avoid this conflict between WPML and Tutor LMS.

June 30, 2025 at 2:03 pm #17184846

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I am working on this and 'll get back to you as soon as I find something or have a solution.

July 1, 2025 at 6:57 am #17186741

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I was able to find and fix the problem. There were actually 2 issues which needed to be taken care of:

1) Missing WPML Addon: When using WPML with Tutor LMS Pro, a WPML addon needs to be active. This is provided by the Tutor LMS Pro and can be activated from Tutor LMS Pro -> Addons -> WPML. I've activated it.

2) Problem with "[tutor_option]course_permalink_base": There seemed to be some kind of database corruption for the said option. This stores the base slug for Courses (i.e. /courses/) as defined in Tutor LMS' Advanced Settings. So I searched for it String Translation, changed language, removed, redefined in settings (in Arabic and later back to English) and it seems to work fine now.

Attached are the screenshots for references, as well as, hidden link">my screen recording. Please note that I've reverted back this slug to English one (i.e. courses) and have removed its Arabic definition from String Translation.

settings-ar.jpg
arabic-slug.jpg
settings.jpg
base-slug.jpg
addon.jpg
July 1, 2025 at 12:28 pm #17188494

mohabM-4

thanks alot