Hi,
i have a little problem with babel.
i can access my homepage with this adress (example) : www.website.com
then if i click a link, i go to www.website.com/fr/page.html
if i click on the homepage link, i go to www.website.com/fr/
is there a way to redirect www.website.com directly to www.website.com/fr/ (which is my default context) ?
here is my htaccess file (furl part):
# Turning on the rewrite engine is necessary for the following rules and features.
# FollowSymLinks must be enabled for this to work.
<IfModule mod_rewrite.c>
Options +FollowSymlinks
# Options +SymLinksIfOwnerMatch
RewriteEngine On
RewriteBase /
</IfModule>
# The Friendly URLs part
RewriteCond %{HTTP:Accept-Language} !^fr [NC]
RewriteRule ^$ fr/ [R=301,L]
# redirect all requests to /en/favicon.ico and /de/favicon.ico
# to /favicon.ico
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(fr|en|de|it)/favicon.ico$ favicon.ico [L,QSA]
# redirect all requests to /en/assets* and /de/assets* to /assets*
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(fr|en|de|it)/assets(.*)$ assets$2 [L,QSA]
# redirect all other requests to /en/* and /de/*
# to index.php and set the cultureKey parameter
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(fr|en|de|it)?/?(.*)$ index.php?cultureKey=$1&q=$2 [L,QSA]
# redirect all requests to /en/css* and /fr/css* to /css*
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(en|es)/css(.*)$ css$2 [L,QSA]
# redirect all requests to /en/ima* and /fr/ima* to /ima*
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(en|es)/ima(.*)$ image$2 [L,QSA]
In contexts setting, i set up site_start, base_url for each context.
thanks for your help !