I recently switched to mod rewriting of my urls so that I don’t have to show variables in the user’s browser url bar anymore and the url looks more natural to visitors as well as search engines.
One example would be:
http://www.mydomain/blog
This is rewritten as:
http://www.mydomain/index.php?p=bl
To be sure that no incoming links are wasted because of mistakes (if people link to my site I can ask them to use a trailing slash or not but of course they’re will be mistakes at some point), I also configured my .htaccess file so that:
http://www.mydomain/blog/ (thus with the trailing slash)
is also rewritten as:
http://www.mydomain/index.php?p=bl
My question now is whether this could harm my rankings in search engines because now for example google might think that I have two pages on my site which are exactly the same (since with and without the trailing slash might be perceived as two pages while in fact it always points to the same page). Is my current approach (allowing both, with and without the slash) going to get me into trouble?
Furthermore, I was wondering what would be the best way to link to this specific page. Would it be better to build incoming links with:
http://www.mydomain/blog
or with:
http://www.mydomain/blog/
I figure that it would be make sense to be consistent and ask every link partner to do it in the same way (so either with or without the trailing slash for every single link exchange) but is one of the two options more favorable than the other?
Thanks!
you mean that more people recommend using the trailing slash when building incoming links AND also make the page accessible with AND without the trailing slash?
Yup….that’s what I think ” title=”” class=”bbcode_smiley” />
Does everyone agree on this or are there also people that do it differently?
Whatever Simmo suggest I always go with and it has never failed yet ” title=”” class=”bbcode_smiley” />
Change all your affiliate links to mine on all your sites :wink-wink
There’s some discussion on this topic at Webmaster World at the moment actually: http://www.webmasterworld.com/google/3642664.htm
Please login or Register to submit your answer