Please make sure to update to WPML 4.3.6 and check our list of Known Issues before reporting

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 thread is resolved. Here is a description of the problem and solution.

Problem:
Unable to Activate Language Directories

Solution:
Fixed with the below .htaccess rule

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

This topic contains 2 replies, has 2 voices.

Last updated by zokhidD 1 year ago.

Assigned support staff: Raja Mohammed.

Author Posts
December 25, 2018 at 9:48 am #3032051

zokhidD

Cannot Activate Language Directories

in my .htaccess have this code:
# 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

December 26, 2018 at 7:34 am #3033352

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hi There,

Welcome to our forum, I will be handling your ticket.

Please provide some more information about the issue. Do you see any error while activating language directories ? if yes please let us know, it will help us identify the issue with more clarity.

We also have detailed documentation about the issue kindly refer https://wpml.org/documentation/getting-started-guide/language-setup/cannot-activate-language-directories/

Replace your .htaccess code with the one below

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

Let us know how it goes, Please feel free to write back, I will be happy to help you 🙂

Best Regards,
Raja

December 26, 2018 at 9:15 am #3033636

zokhidD

My issue is resolved now. Thank you!