I’m trying to set a subfolder of my website as root:
RewriteCond %{REQUEST_URI} !^/home/.*$
RewriteRule ^(.*)$ /home/$1 [QSA,L]
This works fine when I go to http://www.mydomain.com/ it shows the content of http://www.mydomain.com/home but I get a file not found error when I try to go to, for instance, http://www.mydomain.com/anothersub.
Suggestions?
1 Answer