M
Mr B
Howdy all,
I have 2 domain names that both go to the same website. For example, if www.XXXX.com is the primary
name for the website, if you type in www.XXXX.com or www.YYYY.com, they both go www.XXXX.com for the
same website jsut via different names.
What I want to do is take one of those, and redirect them to a sub folder. So if someone goes to
www.XXXX.com they just go to the normal Index page. But if someone goes to www.YYYY.com, they go to
the index page which would do a check to see where they tried to go, and would redirect them to
www.XXXX.com/folder
Is there any way to do this via Javascript?
Thanks.
I have 2 domain names that both go to the same website. For example, if www.XXXX.com is the primary
name for the website, if you type in www.XXXX.com or www.YYYY.com, they both go www.XXXX.com for the
same website jsut via different names.
What I want to do is take one of those, and redirect them to a sub folder. So if someone goes to
www.XXXX.com they just go to the normal Index page. But if someone goes to www.YYYY.com, they go to
the index page which would do a check to see where they tried to go, and would redirect them to
www.XXXX.com/folder
Is there any way to do this via Javascript?
Thanks.