Both of them use the same host and are set up as aliases. When going to the main page of either the root index shows up.
What I want to happen is when a user goes to my-domain.tv it will redirect the user (and change the url) to my-domain.net/tv
I have this to work with, but it doesn't change the URL for me:
- Code: Select all
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{HTTP_HOST} ^(www\.)?my-domain\.tv$ [NC]
RewriteRule ^(.*)$ /tv/$1 [QSA,L]
Any help would be greatly appreciated