what is canonical url?

Started by richard branson, 03-15-2012, 03:02:24

Previous topic - Next topic

kumar29

A canonical URL specifies the de facto route to a webpage. If you can access the same information from more than one address, it confirms which one is preferred. To see the effect of this in action, open up the fifty6 Page Grader in another tab. Then, copy in the URL of this blog post and run it. The three statements referring to the canonical will be ticked. Now, remove the "s" from between "http" and "://". The statement "Rel=Canonical points to this URL" will have a cross and an advisory notice. This is because while the non https version of the address will resolve to the same page, it won't be via the preferred route.


ngocptit

For example, http://mydomain.com/shirt.html and http://mydomain.com/apparel/shirt.html might go to the exact same product page. Since two URLs are being used and the page content is the same for both of them, Google thinks you have two pages with duplicate content. Canonical URLs are used to prevent this.