Skip Navigation

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 1 reply, has 0 voices.

Last updated by Kor 2 days, 23 hours ago.

Author Posts
January 17, 2025 at 2:59 pm #16606917

franchellaA

Background of the issue:
I am trying to resolve redirect loops found by SEMRush, specifically to the main home page for Thai - English language. I wasn't able to figure out where the issue is coming from. All 22 of the issues found were for this link: hidden link

Symptoms:
I expected to see no redirects, but instead, I got a redirect loop as shown in the screenshot: hidden link

Questions:
How can I stop the redirect loop to the main home page for Thai - English language?
What could be causing the redirect loop for the link hidden link?

January 18, 2025 at 7:03 am #16608708

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with the first debugging steps and try to help with the issue quickly.

I've checked your Website debug information and I can see that you're still using the older versions of the WPML plugins. Could you please update the plugins to the latest version and retest to see if the issue still persists.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Also, I see that the WordPress Memory Limit is below the requirements. The minimum requirements are 128M, but we do recommend 256M and the debug information of your site shows it set to 40M. Please check this link for more details
https://wpml.org/home/minimum-requirements/.
You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:

define( 'WP_MAX_MEMORY_LIMIT', '256M' );
define( 'WP_MEMORY_LIMIT', '128M' );

After adding the code you can confirm that the memory was changed correctly from WPML > Support > WordPress > Memory limit.