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 2 voices.

Last updated by Nicolas V. 1 year, 9 months ago.

Assisted by: Nicolas V..

Author Posts
October 5, 2023 at 9:49 am #14518949

bartoszD-4

The configuration of WPML to have each language in a separate directory is not working. After going to forbot.com/cs, a 404 error occurs.

October 5, 2023 at 4:38 pm #14522361

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

Welcome to the WPML support forum. I tried to visit your site but it's "under construction".

So here are few things you can check on your end:
- Go to "WPML > Languages > Language URL format" and resave your choice (Different languages in directories).
- On the same page, section "Hide languages": did you hide this language? If so, go to your profile and activate the option "Display hidden languages".
- Go to "Settings > Permalinks" and resave your permalinks
- Access your server via FTP (or Cpanel) and make sure that you don't have a /cs folder (if you have one, delete it - WPML take care of the language repertory)
- Still using FTP, check if you have specific directives in .htaccess that would create that issue. An easy way to discard this issue is to rename the file (.htaccess_old) and resave your permalinks. That should create a new .htaccess
- It could be a compatibility issue with another plugin. Can you try WPML in a miminal environnement?
1. Disable any additional plugin that is not related to WPML and its add-ons and switch to a default theme like 2020.
2. If the issue disappears please start reactivating the plugins one by one, or activate them in small groups. This way you can verify at which point the issue appears again and identify the plugin that is causing the issue.
Please also enable WP_DEBUG to see if you have any PHP errors.

October 5, 2023 at 7:56 pm #14523093

bartoszD-4

Hi, I think re-saving setting or permlinks solved the issue 🙂