Are you a Google Analytics enthusiast?
More SEO Content
Should I 301 Redirect Our Homepage?
Posted 01 March 2005 - 10:35 AM
I recently started SEO work at a company that had no previous SEO done at all. Because of this they have a lot of links to their homepage in a variety of different ways such as:
etc. etc. but you get the idea. Ideally I would like to 301 redirect all the variations to one variation like www.homepage.com/ but this has been impossible so far because the pages are actually the same and it just causes an infinite loop. (I had another post on this previously but never got anything to work properly.)
Because of all these variaitions on the homepage, Google will often display different versions in their results depending on which page was last spidered. For ex. currently "index.aspx?refid=7" shows up instead of the usual "www.homepage.com/". Not only will this inflate the number of referers we get from refid 7 but I'm also concerned about duplicate content issues.
So anyway, the workaround I came up with is this: Should I create a new copy of the homepage with a different filename say "home.aspx" instead of "index.aspx" and redirect all instances of "index.aspx" to "home.aspx"?
We have used this method for many other pages throughout our site and it seems to work great but do you see any problems using this method on the homepage?
Thanks for your input.
Posted 01 March 2005 - 03:19 PM
Posted 01 March 2005 - 04:06 PM
Why not try to contact the sites that use these links & ask them to change them? By using the 301, you are only redirecting visitors to the "right" page _after_ they reach your site.
What are / were these refid's used for? There might be a legit reason that this was done (ex: affiliate / referral tracking).
Anyway, if the above is not feasable (too many links / too much time involved), then I'd go with the robots.txt angle. If memory serves correctly, Ian (mcanerin) created a nice little tool for generating robots.txt files a few months ago that you might find useful.
Hope this helps!
Posted 01 March 2005 - 04:58 PM
Posted 01 March 2005 - 06:11 PM
Just an idea but if the index.aspx file should never be hit with a variable, what about if you stuck a small snippet of code at the top of the page that does a 301 Redirect if --and only if-- a variable appears in the URL?
I've never had to try it myself, but if it was done at the page level (detecting the variable) instead of the server level it should work. In theory.
What say you ASP experts?
Posted 02 March 2005 - 03:47 AM
Anyway, Stripping off the variable and redirecting at page level would be the way to go.
some code in this thread. Meant for affiliate/PPC tracking but you can take out the session stuff if you are not interested in it.
And the code in this thread could easily be used with some minor mods.
<edited to fix my crap typing>
Edited by chrishirst, 02 March 2005 - 03:54 AM.
Posted 02 March 2005 - 08:46 AM
Sounds vaguely familiar Chris. And people wonder why I like working from home so much!
Posted 02 March 2005 - 09:58 AM
I'll be doing much the same for my 2 year old, now that we know that my wife is expecting again...
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users