|Posted by:||Ardus Petus (ardus.pet…@laposte.net)|
|Date:||Mon, 14 Jul 2008|
Using RewriteCond/RewriteRule, I'm trying to redirect all requests (except
/index.html) aiming to my root directory to the default /fr directory.
It does not seem to work...
Here is my code:
RewriteCond %(REQUEST_URI) !/index\.html
RewriteRule ^/(.*)$ /fr/$1 [R=301,L]
What's wrong with it?