Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Madrid (GMT+02:00)

This topic contains 1 reply, has 0 voices.

Last updated by Marcel 1 day, 19 hours ago.

Assisted by: Marcel.

Author Posts
July 18, 2025 at 5:23 am #17248617

Tory Grice

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?

July 18, 2025 at 10:33 am #17249587

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

Could you please add me your PHP error log? WordPress includes a debug mode which helps reveal PHP problems.

To enable it, open your wp-config.php file and look for

define('WP_DEBUG', false);

Change it to:

define('WP_DEBUG', true);
[php]define( 'WP_DEBUG_LOG', true );
[php]define( 'WP_DEBUG_DISPLAY', true );

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:

/* That's all, stop editing! Happy blogging. */

DOC:
https://codex.wordpress.org/Debugging_in_WordPress

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.

Kind Regards
Marcel