View Full Version : Directing to a website via alternate url...

05-15-2007, 11:40 AM
I hope someone can advise me with this issue. I want to see if some of my print advertising is successfully directing people to my website. I thought a good way to do this would be to use a web address specific to the publication e.g.


My question is firstly is this the best way to do this and if so do I create a redirect page called magazine.html or do I just make a copy of my index.html page called magazine.html?

Any tips would be great, also is there a way to make sure people who type incorrect names get to the desired page ie



Many thanks :)

05-15-2007, 02:07 PM
First off, I would create a directory called "magazine" and in that
directory, you would have an "index.php" file. That way, they would
only be typing "www.mywebsite.com/magazine" (index.php is default).

index.php would be a redirect PHP script to your "real" page.

header ("location: http://www.mywebsite.com");

The case-sensitive issue, not sure if you can do anything about that.
There might be an .htaccess thing you could look into (not sure about this).

05-15-2007, 02:10 PM
that's great thanks, i had thought that once i had posted my question. Good to have reassurance though :)