If you look to your current URL for this website, you will see a path-prefix /en, because this post in English.

This site is also in Dutch (/nl) and it was also possible to switch to Czech (/cs). This was only to switch the menu’s to the Czech language, so I wanted it to remove this language.

So I wanted to redirect the /cs path to /en, to point to a valid English URL.

Simply the following redirect command did not work, I was getting the following path:


After I added the RewriteCond command everything worked ok.

Currently my .htaccess is looking like this, the bold parts are added:

<IfModule mod_rewrite.c>
    RewriteEngine on  

Redirect /cs/ mydomain.com/en/ [R=301]

# Rewrite URLs of the form 'x' to the form 'index.php?q=x'.  
RewriteCond %{REQUEST_FILENAME} !-f  
RewriteCond %{REQUEST_FILENAME} !-d  
RewriteCond %{REQUEST_URI} !=/favicon.ico  
**RewriteCond %{REQUEST_URI} !^/cs/**  
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]