html link rel canonical

This pages have the same or almost the same content:

  • www.site.com/?page_id=7 - canonical page;
  • www.site.com/?page_id=7&print=1 - print version of the page;
  • www.site.com/?page_id=7&page_comments=2 - version of the page with second comments page;
  • www.site.com/?page_id=7&hide_comments=1 - version of the page without comments;

If you want to avoid search engines (like Google) scan duplicate content and showing in search results only original content you may add to duplicate pages this code into head section:

<head>
<link rel="canonical" href="http://www.example.com/?page_id=7" />
</head>
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">