![]() |
.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:
I hope I didn't explain this in a too convoluted way - Sorry - didn't know any better - GRIN |
|
Sorry, a good week later, after trying to understand the link DD gave me, and asking a friend for help: I'm no step further with this!
When it comes to servers (and Unix) I'm such a |newbie| - hopeless! |
This may not be the optimal solution for you but you could create mirror pages and use the meta refresh tag...
Code:
http://www.example.com/somepage.html"> |
Quote:
Meta refreshs get you penalised with search engines... There is a way with htaccess, the explanation is even in DD's link, just that last time I tried to change mine I messed it up that badly that the server died (loop)... |
You could add a bunch of lines to your .htaccess file for every URL you want to redirect,
redirect accessed-file URL-to-go-to could be, redirect http://picxs.com/ http://www.picxs.com/index.shtml redirect http://picxs.com/index.shtml http://www.picxs.com/index.shtml etc. Mist |
George, as I clearly said it wasn't likely the optimal solution. I merely expressed it as a possible option.
|
All times are GMT -4. The time now is 09:22 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc