I have several aliases (i.e. urls) for my website. For example, the site is mainsite.com. I have a few urls as aliases for mainsite.com, e.g. music.com, dance.com, etc.
Using $HTTP_REFERER, I have a php script which will tell me what url a visitor has entered. I can capture this as a variable and can use the variable to call the appropriate html page (using header).
I am calling this little php program tester.php.
What do I have to do so turn tester.php into index.html. In other words, when a visitor enters mainsite.com, I want them to go to tester.php.
Thanks in advance for your help.
Drexcol