Jump to content
Sign in to follow this  
Samie

What is a canonical issue?

Recommended Posts

Ok so read up on canonical (Wiki) or Complete Guide to Rel Canonical - How To and Why (Not) (Moz).

 

"A canonical link element is an HTML element that helps webmasters prevent duplicate content issues by specifying the "canonical" or "preferred" version of a web page as part of search engine optimization. It is described in RFC 6596, which went live in April 2012."

 

So if you have a canonical issue it could be;

 

  • You are using $_SERVER['REQUEST_URI'] to generate the canonical which would mean any old junk in the url will become the "preferred" version.
  • You have each filtered results page using it's own canonical url instead of using the unfiltered default view url.
  • You have set the main url as the canonical for every page; e.g. <link rel="canonical" href="http://yourdaomain.com/">.

These are the three most common issues with canonical.

Edited by BrowserBugs

Share this post


Link to post
Share on other sites

A canonical issue arises if your website is crawled by search engine with different urls. If you put the html tag rel="canonical" search engine take only the url in tag as original one. So duplication can be avoided.

Share this post


Link to post
Share on other sites

A canonical issue arises if your website is crawled by search engine with different urls. If you put the html tag rel="canonical" search engine take only the url in tag as original one. So duplication can be avoided.

 

If a search engine is crawling your site under different urls then you should investigate why rather than slapping a canonical band aid on the problem. Don't forget Google implements a crawl budget, pointless wasting it on never ending paths.

Share this post


Link to post
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

Sign in to follow this  

  • Recently Browsing

    No registered users viewing this page.

  • Member Statistics

    • Total Members
      57,516
    • Most Online
      4,970

    Newest Member
    Codespinner
    Joined
  • Forum Statistics

    • Total Topics
      65,729
    • Total Posts
      455,373
×