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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

This topic contains 4 replies, has 3 voices.

Last updated by mohamedH-42 4 months ago.

Assisted by: Osama Mersal.

Author Posts
September 7, 2024 at 4:56 pm #16151566

it@dnbf.org

Background of the issue:
When we have a non-default language page with a password, then when correct password are used, the page generate a 404 Not Found error page. For example our page, using Norwegian language as default, and English language as secondary, then viewing this page:

hidden link

using the current password '2024' generate a 404 Not Found error page (try yourself!). But using the same page in default Norwegian language page, and the same password, there is no problem:

hidden link

But if I first go into the Norwegian language page, using the current password, and then switch to English language, then there is also no problem.

Our web site is updated per today, the WordPress core, the Avada theme and the WPML plugins.

If I deactivate ALL plugins (including the WPML plugins), then this problem goes away using both the Avada theme and the standard Twenty Twenty four theme. But as soon as the WPML plugins are activated, this problem appear.

So I think there is a bug in the WPML plugins. Please help!

Kindly,
Bjørge Berg 🙂

Symptoms:
Creates a 404 Not Found page.

Questions:
Can this be fixed?

September 8, 2024 at 9:12 am #16152305

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

Please log in to this hidden link">sandbox site and try to replicate the issue.

If the issue is replicable, please let me know to consult our 2nd tier support team.

Best regards,
Osama

September 8, 2024 at 11:03 am #16152489

it@dnbf.org

I am not able to replicate the problem on your developer site. I set up Norwegian language as default, English language as secondary. Made a Norwegian languge test page, translated it into English. And tested the English language page directly:

hidden link

needing password "test" and there where no problems, seeing the page using the current password.

So, what do I do now, the same setup does not work with us?

September 8, 2024 at 11:07 am #16152492

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your update. Following these steps, please check if the issue persists in a minimal environment.

1- Deactivate all the plugins except WPML CMS.
2- Switch to a WordPress default theme like Twenty Twenty-one.
3- Create a new test page to reproduce the issue.

If the issue is gone, activate them one by one to see which one is causing an interaction issue.

❌ Please backup your database before performing the above test ❌

If the issue happens in the minimal setup, I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

September 12, 2024 at 9:07 am #16169752
mohamedH-42

السلام عليكم اخي اسامة
المشكلة ان تم ترجمة الموقع بشكل جيد في الانجليزية والعربية

ومن كم يوم وجدت اني يوجد خطئ وانا اترجم من String Translation

واعمل علي الترجمة بشكل جيد وفجأة وجدت في تحسين الصفحات 404 كل ما افتح اي صفحة

ولكن كل الروابط جيدة والصفحات ولكن الخطأ من String Translation

يمكنك تصفح الموقع

hidden link

كل شئ شغال في الموقع باللغة الانجليزية

ولكن العربية هي التي يوجد بها الخطأ

Elementor

يعمل بشكل جيد في الانجليزية

ولا يفتح في العربية

New threads created by Osama Mersal and linked to this one are listed below:

https://wpml.org/forums/topic/non-default-language-page-generates-404-not-found-error/

Screenshot 2024-09-10 213250.png
Screenshot 2024-09-10 213228.png

The topic ‘[Closed] Non-default language page with password generates 404 Not Found error page’ is closed to new replies.