View Single Post
Old 2003-10-29, 05:47 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

How can I set my .htaccess (I assume that's where it's done...) so that any call for my site always goes to the same url?

To confusing the way I expressed this? - o.k. - let me explain:

I want all hits to go to www.mysite.com/index.shtml
type-in traffic to http://mysite.com without www.
traffic to http://mysite.com/index.shtml - again without www.

(I have already a line
DirectoryIndex index.shtml index.php index.html index.htm which defines the load order...)

Reason: unified referrer url in stats - currently I'm sending traffic out from all different options like http://www.mysite.com/index.shtml, http://mysite.com, http://mysite.com/, http://mysite.com/index.shtml - which in several counters shows as 3 or 4 different referrers and much less traffic in either option than the combined traffic.

Cheers
__________________
Have a nice day!
GeorgeTH is offline   Reply With Quote