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 Bruno 1 year ago.

Assigned support staff: Bruno.

Author Posts
May 29, 2019 at 4:00 pm #3917155

Caroline Elisa

Our site is in Portuguese and Swedish, with the Swedish version currently hidden.

When we edit a Swedish page and hit save we get a 500 error. WPEngine helped us track down the issue, which is in the .htaccess file:

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

# END WordPress

When I resave permalinks the issue is fixed, as this removes /sv from the RewriteBase and RewriteRule

What do we need to to to get this fixed?

May 30, 2019 at 2:15 am #3919587


Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Thank you for contacting us. This is not a WPML bug. This may be caused by some plugin you are using.

We have an errata page that explains in more detail what can be happening and a workaround:

Following in the steps of our errata page, does your site work correctly?

Thank you.