Subdomain point to subfolder (WITHOUT REDIRECT)
问题 I have googled all day long and I cant get this right. I have the following rule in my htaccess file: RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} ^(.*)\.domain\.com$ RewriteCond %{HTTP_HOST} !^app\.domain\.com$ [NC] RewriteRule ^(.*)$ http://app.domain.com/site/%1/$1 [L] What this code does is as following Visit: subsite.domain.com/contact-us It will redirect you to app.domain.com/site/subsite/contact-us This is what I want BUT i dont want an actual redirect. So when I browse this