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 3 replies, has 3 voices.

Last updated by Itamar 4 months, 2 weeks ago.

Assisted by: Itamar.

Author Posts
September 17, 2024 at 8:59 am #16187000

lauraP-35

Background of the issue:
We are attempting to access the pages and articles on our site hidden link, but occasionally, the URL returns a 404 error (Page Not Found). We have to repeatedly go to the permalink settings and save them. We have selected the 'Different languages in directories' option in WPML.

Symptoms:
The URLs are temporarily inaccessible, and the structure does not include the language name. Error URL: 'hidden link'. The Correct URL is: 'hidden link'.

Questions:
Why do the URLs occasionally return a 404 error?
Why does the URL structure not include the language name even though 'Different languages in directories' is selected?
How can we prevent the need to repeatedly save the permalink settings?

September 17, 2024 at 11:18 am #16187819

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

Can you please check the next guide and try using the workaround code shared there:

- https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/

Let us know how it goes.

Regards,
Drazen

September 18, 2024 at 4:15 am #16190986

lauraP-35

Hi

Even after adding the workaround code the website is still facing with temporary accessibility of the 404 page not found errors. So request you to provide us the permanent fix.

Regards,

September 18, 2024 at 5:23 am #16191056

Itamar
Supporter

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

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

Hi,

I'll continue to help you with this issue.

The guide that my colleague shared with you mentions the following.

Identifying the specific plugin causing this issue can be challenging. It involves testing in a minimal environment and deactivating plugins one by one. After finding the responsible plugin, you would need to contact the author and request that they add a fix that limits the rewrite rule flushing to happen only once.

However, it is unclear if you have found the culprit plugin or if it is your child theme. So please proceed with the following.

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.

The topic ‘[Closed] Temporary Inaccessibility of Pages and Blog Articles’ is closed to new replies.