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 Jamal 4 months ago.

Assigned support staff: Jamal.

Author Posts
June 19, 2019 at 11:55 am

esperanzaG-2

I am trying to:

Our server gives an error 500 when I access the website. This is because the htaccess file is automatically changed when the multilingual option with WPML is activated, WordPress write these lines of code in htaccess file that give error in our server:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /en/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /en/index.php [L]
</IfModule>

# END WordPress

If I change the following code lines in the htaccess file error 500 disappears. The serious thing is that wordpress changes this file continuously. The code that does not give error:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

June 19, 2019 at 12:14 pm #4051359

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello,

Thank you for contacting WPML Support. I will be glad to help with this.

I think that this is a duplicate of https://wpml.org/forums/topic/problem-with-htaccess-file-and-multilingual-wordpress/

I already answered on the previous ticket. We can continue there and just close this one.

Best regards,
Jamal
WPML Support

The topic ‘[Closed] Email notifications only when WPML support posts an answer’ is closed to new replies.