Redirection according to URL?
Posted: Fri Aug 01, 2003 3:08 pm
I have two different domains pointed at my web site and I would like to redirect visitors according to which domain they are trying to access. I've already set up a separate directory within my document directory so that I can keep the files separate.
I feel kind of stupid because I don't even know what to look for. I've tried searching on redirection but have so far come up blank. I'm sure it doesn't need to be any more than a couple of lines of code. I know how to do this with ASP, but not PHP.
I feel kind of stupid because I don't even know what to look for. I've tried searching on redirection but have so far come up blank. I'm sure it doesn't need to be any more than a couple of lines of code. I know how to do this with ASP, but not PHP.