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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Andreas W. 7 months ago.

Assigned support staff: Andreas W..

Author Posts
March 20, 2019 at 7:30 pm

viktorsL

I am trying to: Change my website structure from parameter based website structure to directories based structure.

Link to a page where the issue can be seen: hidden link

I expected to see: I want it to be hidden link

Instead, I got: hidden link

The plugin suggests me to do the following steps:
WordPress is installed in a directory (not root) and you're using default links.
URL rewriting is not enabled in your web server.
The web server cannot write to the .htaccess file

Which I checked and everything is OK. I asked the wp engine support for help, they told that we should ask you. Thank you!

March 20, 2019 at 7:53 pm #3393009

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Thank you for your message.

You will need to add or overwrite the following edits on your htaccess-file.

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

Please find more information about how to enable URL rewriting and more inside the following documentation:
https://wpml.org/documentation/getting-started-guide/language-setup/cannot-activate-language-directories/

You will further need to select the option:

What to show for the root url: Root page

More information about this here:
https://wpml.org/documentation/getting-started-guide/language-setup/directory-default-language/

Let me know if this solved the issue or if you need any assistance.

Kind regards
Andreas

The topic ‘[Closed] Can not change to different languages in directories website structure.’ is closed to new replies.