hey Guys.. i need a little help.. when i log into my webmaster tool it gives me a problem about Pages with duplicate title tags. when i dig into it i can see that it is indexing the same page in different variations: chargers-and-batteries.html?dir=asc&limit=80&order=name chargers-and-batteries.html?dir=asc&limit=80&order=price chargers-and-batteries.html?dir=asc&order=price chargers-and-batteries.html?dir=desc&limit=80&order=name chargers-and-batteries.html?dir=desc&limit=80&order=position chargers-and-batteries.html?dir=desc&limit=80&order=price and so on. Im using a magneto ecoomerce.. any suggestions?
Yes, use the canonical tag so that Google then knows all these pages are just chargers-and-batteries.html and will ignore the other ones. http://en.wikipedia.org/wiki/Canonical_link_element Place it in the head tag, close to the top.
in the wiki page its no very clear.. what command should i add according to my example? which pages should i put this code on?
Well, I'm not sure if I can explain it better than Wiki. You can have the canonical tag on every page so that Google always knows which one is correct. Use a module to populate this tag though. Check the Magento eCommerce website as I'm sure there will be a few. You have the page www.example.com/chargers-and-batteries.html and can pass it parameters so that the order of the listings are changed. However, regardless of ordering it's still the same page. You just want Google to see it as www.example.com/chargers-and-batteries.html and not www.example.com/chargers-and-batteries.html?date=asc and so on. So to do that the page www.example.com/chargers-and-batteries.html would have the following within the head tag: <link rel="canonical" href="http://www.example.com/chargers-and-batteries.html" /> HTML: So regardless of which variation of the page Google looks at, it knows they are all www.example.com/chargers-and-batteries.html