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.

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: Asia/Jerusalem (GMT+02:00)

This topic contains 6 replies, has 2 voices.

Last updated by Itamar 4 months ago.

Assisted by: Itamar.

Author Posts
September 29, 2024 at 6:12 pm #16233680

hazemS-5

Background of the issue:
I am trying to resolve 404 errors on all translated pages of my site hidden link. I have completed 100% translation, refreshed the permalink structure, cleared the cache, tried with another browser, and updated the original language and the translation. The issue only resolves when I change the permalink to plain, which I do not want as it makes the links with the page ID.

Symptoms:
All translated pages give a 404 error not found.

Questions:
How can I fix the 404 errors on my translated pages without changing the permalink to plain?

September 29, 2024 at 7:48 pm #16233804

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Please ensure that the translated pages are not in draft mode.

If you need further help, please share your site's Debug information. You can read about it here.

http://wpml.org/faq/provide-debug-information-faster-support/

Regards,
Itamar.

October 7, 2024 at 3:43 pm #16262657

hazemS-5

Hello, the translated pages are active not draft and i provided you with the debug information

October 8, 2024 at 12:10 pm #16265290

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

I can see the problem on your site. For example, when I go here, I get a 404 page.

hidden link

Please see the attached screenshot.

Please translate the homepage of your site from English into Arabic and see if it helps.

Also, please go to WPML -> Languages -> Language URL format and see if there is an error message regarding a problem enabling the option " Different languages in directories."

If none of this helps, please let me have access to your site. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

2024-10-08_15-04-16.jpg
October 8, 2024 at 3:22 pm #16266349

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, and thanks for the access details.

The homepage of your site is still not translated from English into Arabic. Please see the attached screenshot.

Please translate it and see if it helps to solve the problem.

If not, then we suspect a collision with the theme or another plugin might cause this problem. If possible, get your site into a minimum environment, switching to a default WordPress theme like TwentyTwenty-Four and having no plugins activated except WPML.

First, you must check if the problem persists when just the theme is switched to TwentyTwenty-Four (for example). If it persists, deactivate all plugins except WPML and its add-ons. Then, please check if the problem persists. If it does not continue, start by activating the plugins individually and checking when the issue comes back, then report to me which plugin was the culprit.

**** Important! Please make a full site backup (files and DB) before you proceed with those steps****


*** If your site is live, you might want to try those procedures in a staging environment or a snapshot of your site on your local server or another server. ***

Regards,
Itamar.

2024-10-08_18-20-41.jpg
October 9, 2024 at 1:40 pm #16270669

hazemS-5

hello, now the translation of home page only is working but all other pages and posts still gives a 404 error not found and the translation is 100% completed

October 9, 2024 at 7:50 pm #16272264

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Have you tried my other suggestion for a minimum environment?

We suspect a collision with the theme or another plugin might cause this problem. If possible, get your site into a minimum environment, switching to a default WordPress theme like TwentyTwenty-Four and having no plugins activated except WPML.

First, you must check if the problem persists when just the theme is switched to TwentyTwenty-Four (for example). If it persists, deactivate all plugins except WPML and its add-ons and WooCommerce without any extensions. Then, please check if the problem persists. If it does not persist, start by activating the plugins individually and checking when the issue comes back, then report to me which plugin was the culprit.


**** Important! Please make a full site backup (files and DB) before you proceed with those steps****


*** If your site is live, you might want to try those procedures in a staging environment or a snapshot of your site on your local server or another server. ***

If it does not help, please give us access to your site. (Since you marked this ticket as resolved and opened it again, the access details are no longer there.) I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

The topic ‘[Closed] 404 error on all translated pages’ is closed to new replies.