Forum Moderators: phranque
http://www.domain.com/websites/site1/ http://www.domain.com/site1/
RewriteRule ^(.*)/(.*)$ /websites/$1/$2 [L]
http://www.domain.com/websites/site1/index.php
AND
http://www.domain.com/site1/index.php
RewriteRule ^(website1|website2)/$ http://www.domain.com/$1/ [R=301,L]
RewriteRule ^(website1|website2)/$ http://www.example.com/$1/ [R=301,L]
The aim is to get the URL to redirect, but all I get is a redirection error in all browsers.