I have the problem that my main-language page is on example.com and the second language shell be reached at example.com/it/

And if the user tries example.com/en/ (main language) the site shell redirect to example.com

I have no idea how to archive this … what would be a good strategy?

My folder structure is:

  • /de
  • /en

And so far the example.com points to /de folder…

P.S.: each language folder runs a different WordPress and the .htaccess in my en folder looks like this so far:

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

Read more here: mod_rewrite for multilingual website


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: