I'm transferring a web site to a new host, but it will be one level deeper from the document root. Currently, a typical URL looks like:
http://www.before.com/en/home/
But after the move it will be:
http://www.after.com/www/en/home/
(Notice the additional "www".)
I need to edit the following so as to accommodate the prefix "www", but I'm not sure how... Any ideas?
----
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^trace$ [NC]
RewriteRule .* - [F]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^((en|de|ru)/[a-z0-9-_]+)\.php$ /$1/ [NC,R=301,L]
RewriteRule ^((en|de|ru)/[a-z0-9-_]+)$ /$1/ [NC,R=301,L]
RewriteRule ^(en|de|ru)/([a-z0-9-_]+)/$ /index.php?lang=$1&page=$2 [NC,QSA,L]
----
...Rene
Thanks.