Hi every one...
I have two domains, www.domainone.com and www.domaintwo.com
both of them is set as parked domain and I want to redirect visitors of www.domainone.com to www.domainone.com/stdir/index.html
and www.domaintwo.com to www.domaintwo.com/nddir/index.html
I tried to do that using .htaccess and wrote the command
but the result is redirecting all visitors from both domains to the same directory!
any one have clue on how to do that on .htaccess
I have two domains, www.domainone.com and www.domaintwo.com
both of them is set as parked domain and I want to redirect visitors of www.domainone.com to www.domainone.com/stdir/index.html
and www.domaintwo.com to www.domaintwo.com/nddir/index.html
I tried to do that using .htaccess and wrote the command
PHP Code:
RedirectMatch permanent ^/$
but the result is redirecting all visitors from both domains to the same directory!
any one have clue on how to do that on .htaccess
Comment