Changing URL structure of a site - correct technique for SEO appraoch - 301 headers?
Ive been making changes to a old site Ive worked on, one of the tasks Ive taken is to change the url structure to som开发者_JAVA百科ething alot more friendly.
For example pages currently work via query strings such as ?action=contact
and ?action=article&id123
. I am now changing them to /contact
and /article/articlename
respectively.
I would just like to ask what approach should I take for the search engines so that they do not think that I have duplicate content.
Of course I will support the old urls, for example ?action=contact
, but when someone accesses the old url, should they be redirected to the new one? Should that page also be given a 301 header?
Thanks.
Yes, the way to go is to issue a 301
.
It will pass undetected by the users and will be pretty usefull to search engines.
Do notice that the issue being talked about loosing pagerank because of 301's is mainly when moving from domainA.com
to domainB.com
and not your particular case.
精彩评论