Seirios Posted November 22, 2015 Share Posted November 22, 2015 Dear Prestashopers, Quite recently i installed a free canonicalization module found on the forum. When i visit : mysite.com/product.html and i view the source code i do see <link rel="canonical" href="http://mysite.com/product.html" /> wich i think is normal and OK. When i visit the same product with a parameter like mysite.com/product.html?tag=1 and i view the source code i see : <link rel="canonical" href="http://mysite.com/product.html?tag=1" /> so the parameter is present inside the rel=canonical, is this normal ? Link to comment Share on other sites More sharing options...
Alphaloc Posted November 22, 2015 Share Posted November 22, 2015 No, you probably want to have the same canonical variant for both pages, unless the tag=1 makes it a completely different page. Link to comment Share on other sites More sharing options...
Seirios Posted November 22, 2015 Author Share Posted November 22, 2015 Thanks for your fast reply. Yes i am talking about the same page in both cases. (with or without the tag) Link to comment Share on other sites More sharing options...
Alphaloc Posted November 22, 2015 Share Posted November 22, 2015 Then you want both pages (with or without the tag=1) to have the same canonical page and thus the same rel=canonical link <link rel="canonical" href="http://mysite.com/product.html" /> The whole idea behind the canonical tag is that when you have multiple URLs for (nearly) the same page with the same content, to tell the search engines which URL (variant) is the authoritative (canonical) one. That way only the canonical variant will be indexed by the search engines and that canonical URL will combine all the "power" (ranking signals) of the different versions. In addition, the different versions won't be considered as duplicate content. More info on rel=canonical on google's support page. Link to comment Share on other sites More sharing options...
Crif Posted December 17, 2015 Share Posted December 17, 2015 Hello, No, Tag-1 shows the different page or product. To apply rel=canonical use following method. 1.You took one of your two pages as the canonical version. 2.Add a rel=canonical link from the non-canonical page to the canonical one. In <head> section <link rel="canonical" href="http://example.com/wordpress/seo-plugin/"> Hope you find it useful. Crif Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now