i tried already with examples of other threads but couldnt get it working.. redirecting works fine, but i want to hide the real url
i tried this one, which leads to an 403
i'll get an 404
- Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(.*) http://www.domain.com/dir/cms/ [P,L]
just redirects but the url shouldn't change
- Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(.*) http://www.domain.com/dir/cms/ [QSA,L]