The .htaccess currently using for domain http://child.com
- Code: Select all
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^child.mum.com$ [NC]
RewriteRule ^(.*)$ http://child.mum.com/$1 [L,R=301]
The bad thing is the address on browser would redirect to http://child.mum.com
Is that possible to alias a domain & url in .htaccess without changing the addresses showing on browser.
http://child.com => http://child.mum.com
http://child.com/files => http://child.mum.com/files
Hopefully i can get the solution here