Jump to content

About Rel=Canonical


Seirios

Recommended Posts

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

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

  • 4 weeks later...
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...