I want to redirect "www.adomain.com" to "www.adomain.com/cms". The cms-part should be masked.
I don't get it to work silently. So "cms" is always part of the url.
I tried this solution: https://stackoverflow.com/a/4475173/1052107, but I always get an Internal Server Error.
RewriteEngine on RewriteBase / RewriteRule ^(.*)$ /folder/$1
And this should go in the .htaccess file at the root of the domain.
This is pulled off a site I have doing this now, so it should work
2.1m questions
2.1m answers
60 comments
57.0k users