Home›Support›English Support›[Waiting for user feedback] Switching to French causes a 404 error on home page and switching to Indonesian causes a critical wo...
[Waiting for user feedback] Switching to French causes a 404 error on home page and switching to Indonesian causes a critical wo...
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 am trying to publish a site that works fine when logged into wpadmin. However, when not logged in, switching to French on the homepage causes a 404 error, and switching to Indonesian anywhere causes a critical WordPress error. I have tried solutions from the support forum, such as adding the mod_rewrite_rules function, resaving the permalinks, and clearing caches. I am unsure how to troubleshoot potentially incorrectly translated strings. The issue can be seen at hidden link.
Symptoms:
Switching to French on the homepage results in a 404 error. Switching to Indonesian anywhere results in a critical WordPress error.
Questions:
How can I resolve the 404 error when switching to French on the homepage?
What steps should I take to fix the critical WordPress error when switching to Indonesian?
In this case, the errors will be saved to a debug.log log file inside the /wp-content/directory.
The wp-config.php is located in your WordPress root directory. It’s the same file where the database configuration settings are. You will have to access it by FTP or SFTP in order to edit it.
If you open wp-config.php and that define statement is not there, you can add it right before this line:
Please let me know the errors you're encountering. This will help us identify the cause of the critical error, and we can also investigate the 404 issue.