Monday, November 12, 2018

How to Indicate the preferred URL to Search Engine with the rel="canonical" link element

Suppose you want http://it.i88.ca/2014/12/coupons-google-apps-work-business.html to be the preferred URL, even though a variety of URLs can access this content. You can indicate this to search engines as follows:
  • Mark up the canonical page and any other variants with a rel="canonical" link element.
    Add a <link> element with the attribute rel="canonical" to the <head> section of these pages: 
    This indicates the preferred URL to use to access the Google Promo Codes, so that the search results will be more likely to show users that URL structure. (Note: Search Engines attempt to respect this, but cannot guarantee this in all cases.)
Avoid errors: use absolute paths rather than relative paths with the rel="canonical" link element.

Use this structure:  http://it.i88.ca/2014/12/coupons-google-apps-work-business.html
Not this structure: /2014/12/coupons-google-apps-work-business.html).