Page 1 of 1

Rewrite rule

Posted: Tue May 16, 2006 3:01 am
by fastfingertips
Helloi would like to rewrite all requests from http://www.mydomain.com to http://www.mydomain.com/content/ and i was thinking to:

Code: Select all

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(\.|/$)
RewriteRule (.+) $1/ [R=301,L]
RewriteRule ^(.*)/$  /content/$1 [L]
But is not performing me the redirect cu content folder, any idea?