Hello, I have two domain names, call them [url]www.a.com[url]www.b.com,
What I’d like to do is use javascript to redirect the user to a specific page depending on what address they are trying to reach.
For example:
[url]http://www.a.com[url]www.a.com.
But if the user tried to go to
[url][url]http://www.a.com/bpage.html[url]http://www.a.com
Is this possible and reliable?