Everything I tried did this:
- Code: Select all
http://www.domain.com/subdirectory/index.html --> http://domain.com/index.html
Any help is appreciated.
http://www.domain.com/subdirectory/index.html --> http://domain.com/index.html
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+\..+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [QSA,L]
Users browsing this forum: No registered users and 85 guests