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

This topic contains 3 replies, has 2 voices.

Last updated by Christopher Amirian 1 year, 11 months ago.

Assisted by: Christopher Amirian.

Author Posts
June 14, 2023 at 1:57 pm #13825931

georgeD-7

Hello.
WPML randomly modifies htaccess file and we get a 500 server error. Saving permalink settings in WP admin fixes the issue but after a couple of minutes, the issue still occurs.

On the support forum, I found this script (https://wpml.org/errata/htaccess-is-rewritten-with-language-folder/) but it didn't fix the issue.

June 15, 2023 at 6:48 am #13829307

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Would you please test the issue is happening when only WPML Multilingual CMS and WPML String translation are active?

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except WPML and its add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

Also, I'd appreciate it if you can share the debug info:
https://wpml.org/faq/provide-debug-information-faster-support/

Thanks.

June 15, 2023 at 6:54 am #13829373

georgeD-7

First, please take a look at debug information

June 15, 2023 at 8:07 am #13830247

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

I did that and there is no issue with your WPML settings. Everything is setup correctly including the Language URL Format.

That is why the next step is the one I mentioned in the previous reply.

Thank you 😊

The topic ‘[Closed] WPML changes htaccess and 500 error occurs’ is closed to new replies.