I have following site structure
- root
- de/index.htm
- en/index.htm
When the user requests the site and has not defined the language like
mysite.com
instead of
mysite.com/en/
I want him to be redirected to the en folder. Because the root folder does not contain any files actually. I am not really familiar with apache rewrite rules. This is what I tried
RewriteEngine On
RewriteBase /
RewriteCond RewriteCond %{REQUEST_URI} /
RewriteRule ^/en/index.htm
But this does not work. Any ideas how to solve this?