This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an Internal Server Error on their multilingual WordPress site when clicking any menu items, with logs indicating excessive internal redirects.
AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer:...
Solution:
We recommend checking the .htaccess file to ensure it follows the default WordPress configuration. If necessary, delete the .htaccess file, save the permalinks to generate a new .htaccess file, and then add the workaround provided in our documentation to the theme's functions.php file.
Here are the steps to follow:
1. Verify the .htaccess file against the default WordPress configuration found here: WordPress .htaccess documentation.
2. If the .htaccess file is incorrect, delete it and save the permalinks in WordPress to create a new one.
3. Add the workaround from our errata page to your theme's functions.php file: WPML .htaccess workaround.
Additionally, increase the WP Memory Limit by adding the following code to your wp-config.php file:
define( 'WP_MEMORY_LIMIT', '128M' ); define( 'WP_MAX_MEMORY_LIMIT', '256M' );
Make sure to place these lines before the 'That's all, stop editing! Happy publishing.' comment.
Also, ensure that WPML is updated to the latest version.
If this solution does not resolve your issue, please open a new support ticket with us.
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 2 voices.
Last updated by 1 year, 4 months ago.
Assisted by: Waqas Bin Hasan.