Home›Support›English Support›[Resolved] 404 Error Issue After Translating the Website into Multiple Languages
[Resolved] 404 Error Issue After Translating the Website into Multiple Languages
This thread is resolved. Here is a description of the problem and solution.
Problem: After translating a website into multiple languages using WPML, some languages displayed a 404 error page. The issue persisted even after modifying permalinks, with some languages starting to work and others not. Solution: 1. We recommended downgrading the PHP version to v8.1 and increasing the WordPress memory limit to at least 256MB by adding the following code to the wp-config.php file:
This code should be placed above the line /* That's all, stop editing! Happy blogging. */. 2. After these adjustments, we performed WPML troubleshooting steps and re-saved the permalink structure. 3. We changed the slug from 'escursioni' to 'tour' and flushed the cache memory several times.
If this solution does not resolve your issue or seems outdated, we 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 at WPML support forum.
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.
Background of the issue:
I translated my website into 4 languages using WPML. One language is displaying correctly, but the others are showing a 404 error page. I modified the permalinks, and now some languages that were working are also showing a 404 error, while others that weren’t working have started to work.
Symptoms:
404 error page appears for some languages after translating the website.
Questions:
Why are some languages showing a 404 error after translation?
How can I fix the 404 error for the translated pages?
1.- Contact your hosting providers and ask them to downgrade the PHP version to v8.1
2.- Please increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`
I didn't ask to increase the host memory limit, but the WordPress memory limit by following the steps I described. The PHP memory limit is different than the WordPress memory limit.
Also, did the PHP version was downgraded?
If the issue persists after increasing the WordPress memory limit, I kindly ask you to share the access credentials to the site in the next message that I have set private.
Please confirm you created a full site backup before sharing the credentials.
The problem has not been solved and the 404 command is present in the flight not appearing in the remaining languages, Italian, Russian and Turkish. When clicking on the flight, the problem 404 NOT FOUND PAGE appears. Please review the problem and its solution, as it is important.