I have a folder within a folder that needs redirecting, for example:
which needs re-directing to http://www.domain.com/directory/folder2
and have been using the following code:
RewriteRule ^(.*)/folder1/(.*)$ $1/folder2/$2 [R,L]
However this is re-directing to http://www.domain.com/var/www/vhosts...ctory/folder2/
Any ideas how to fix this?