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: America/Lima (GMT-05:00)

Tagged: 

This topic contains 13 replies, has 3 voices.

Last updated by Andreas W. 1 year, 8 months ago.

Assisted by: Andreas W..

Author Posts
August 14, 2023 at 4:21 pm

marie-hélène Archambault

Hi there,
I'm getting /private_html/en/index.php] that gives me 404 error. I really need to fix that problem

August 14, 2023 at 4:55 pm
August 15, 2023 at 10:33 pm #14205569

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

I can we are waiting for a staging site, I have enabled the private field reply, once you are ready please share the access details to the staging site.

August 24, 2023 at 3:30 pm
August 25, 2023 at 6:01 am #14288849

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for the access details!

When I test this issue here hidden link I am currently not able to reproduce it.

I understand this happens intermedently, howeever, I have switched back and forth ove 10 times and have tried in increments of 5 minutes a few times with no 404 errors yet.

Am I missing a step to reproducee this behavvior?

August 25, 2023 at 10:08 am #14290801

marie-hélène Archambault

Hi there. The problem will happen after X time, when you are not logged in. I've just got one this morning after a change. I've removed Estatik plugins, check my site in incognito mode, and 404 error. Then, we have to log in, save permalink and start back to work. Always the same error in the log.

August 25, 2023 at 5:26 pm #14293443

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for updating me! When switching to a language name added as a parameter for a URL Format does the issue persist?

hidden link

August 29, 2023 at 4:07 pm #14307817

marie-hélène Archambault

Hi there !
I didn't test it. Will affect all SEO. Have you seen some 404 already ?

August 29, 2023 at 4:12 pm #14307821

marie-hélène Archambault

Hi !
I've just got a 404 on the dev after my last comment. So also doing it with the lang parameter.

Capture.PNG
August 30, 2023 at 1:15 pm #14314099

marie-hélène Archambault

Hi there !
Can you see the problem ? If you go on this link, we get a 404 : hidden link

These are my error log :
2023-08-30 03:30:53.924511 [INFO] [2231] [T0] [3.232.50.116:14891#APVH_www.dev.societegalion.ca:443] [RECAPTCHA] Reason: WP Protection.
2023-08-30 09:13:46.615846 [INFO] [2231] [T0] [108.171.94.126:63099-H3:451EA46E20FCBDA7-148#APVH_www.dev.societegalion.ca:443] File not found [/home/societegalion/domains/dev.societegalion.ca/private_html/en/index.php]
2023-08-30 09:13:46.616006 [INFO] [2231] [T0] [108.171.94.126:63099-H3:451EA46E20FCBDA7-148#APVH_www.dev.societegalion.ca:443] File not found [/home/societegalion/domains/dev.societegalion.ca/private_html/404.shtml]

September 1, 2023 at 6:41 pm #14328457

marie-hélène Archambault

Hi there !
I'm waithing since few days...
I now have an other website, using WMPL with same error.
Thx,
Marie

September 2, 2023 at 2:53 am #14329411

Andreas W.
WPML Supporter since 12/2018

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

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

Hello Marie,

My apologies for not getting back to you earlier, but my colleague Bobby is on vacation this week and I am handling his queue.

I am not sure why, but for some reason, your ticket besides others, did not show up for me in the last two weeks and this is what was causing this delay.

I connected myself to the staging site, saved the WPML Site URL format and the WordPress Permalink settings and I do not have an issue with accessing:

hidden link

or while using "Languages in directories":
hidden link

Also, other English pages that have been already translated to 100% and published are accessible as expected.

Is this kind of a random issue?

If so, do you maybe know what actually triggers this issue?

Best regards
Andreas

September 5, 2023 at 10:38 am #14343101

marie-hélène Archambault

Hi there,
Yes, I have to go in the admin everytime, save permalink again and it work back. No, I don't know what's making this error. I only see the error log like this.

Any idea how we can fix that ? Been a long time I'm turning around with this.

Thx,
Marie

2023-08-30 03:30:53.924511 [INFO] [2231] [T0] [3.232.50.116:14891#APVH_www.dev.societegalion.ca:443] [RECAPTCHA] Reason: WP Protection.
2023-08-30 09:13:46.615846 [INFO] [2231] [T0] [108.171.94.126:63099-H3:451EA46E20FCBDA7-148#APVH_www.dev.societegalion.ca:443] File not found [/home/societegalion/domains/dev.societegalion.ca/private_html/en/index.php]
2023-08-30 09:13:46.616006 [INFO] [2231] [T0] [108.171.94.126:63099-H3:451EA46E20FCBDA7-148#APVH_www.dev.societegalion.ca:443] File not found [/home/societegalion/domains/dev.societegalion.ca/private_html/404.shtml]

September 5, 2023 at 12:35 pm #14344309

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

Once the issue occurs again, please connect to the server and have a look at the htaccess file in order to verify if this is the issue that is affecting your site:

https://wpml.org/errata/htaccess-is-rewritten-with-language-folder/

If you can confirm that Rewrite Base is overwritten with the language folder "/en" instead of simply "/" then you should apply the workaround from the errata.

Let me know if further assistance is needed.

Best regards
Andreas

September 6, 2023 at 4:23 pm #14354073

marie-hélène Archambault

Hi there,
Thx for your reply. Will try this solution for now. Will come back if not resolve.
Thank you,
Marie

The topic ‘[Closed] en/index.php 404 error’ is closed to new replies.