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 Dražen 1 year, 10 months ago.

Author Posts
September 5, 2023 at 3:33 pm #14345919

davidQ-4

Hello,

My website hidden link is in french buy default and i'm actually setting WPML on it to have it also in english. Since several weeks I don't know why but I got a recurring error 500 on the website and WPML is the cause.
I don't know when exactly but when I work in the backoffice and udpate some settings, WMPL change the .htaccess file.
As you can se in the two screenshots, twio lines in the file are changed :

RewriteBase / become RewriteBase /en/
and RewriteRule . /index.php [L] become RewriteRule . /en/index.php [L]

I've seen in the forum that I'm not the only one who have this issue that can be server related. I've desactivated translation of the login page (I don't use it anyway because i have a custom login page) because I saw it could be the cause of that problem but it didn't change anything the issue keep coming back.

Can you please help on that?

Thank you

Regards

Capture d’écran 2023-09-05 à 17.02.47.png
Capture d’écran 2023-09-05 à 17.01.36.png
September 6, 2023 at 6:50 am #14348747

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for contacting us.

It sounds like the next issue and compatibility issue with one of the plugins, can you please check the next link and try the suggested workaround:

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

Let us know how it goes.

Regards,
Drazen

The topic ‘[Closed] WPML change my htaccess file and broke the website (error 500)’ is closed to new replies.