View Single Post
Old 2004-11-04, 04:39 PM   #1
GeorgeTH
Don't let a programmer design your front-end pages!
 
GeorgeTH's Avatar
 
Join Date: Aug 2003
Location: currently on the road in CA
Posts: 781
Question .htaccess question

...at least I hope it is an .htaccess question:

How can I make sure that all traffic goes to exactly the same URL?

My tgp picxs.com currently gets traffic to/from several options, all displaying the same page:
http://picxs.com/
http://www.picxs.com/
http://www.picxs.com/index.shtml
http://picxs.com/index.shtml

The problem with this is that in many referring stats programs you get also 4 different numbers under 'hits received', one for each of the options.
So how can I make sure that every surfer really loads exactly http://www.picxs.com/index.shtml (even it they typed only http://picxs.com/ into the address bar)?

I have the line
Quote:
DirectoryIndex index.shtml index.html index.htm
in my .htaccess which basically makes certain that every possibility gets to see the same page, but this doesn't mean they have the same URL in their address bar! That's what I want to archive!

I hope I didn't explain this in a too convoluted way - Sorry - didn't know any better - GRIN
__________________
Have a nice day!
GeorgeTH is offline   Reply With Quote