How would I test/compare the Address Bar text so that I can forward the user based on its value? Okay, I know that does not make sense.
I have a domain that points to a main domain. When the user arrives at the main domain the address bar actually reads the original domain name. I would like to point the original domain to a sub directory inside of the main domain but my provider told me they cannot do that.
So I thought I could test that text and redirect based upon the info.
Domain 1 -------> main domain/domain1
Domain 2 -------> main domain/domain2
Domain 3 -------> main domain/domain3