{"id":467,"date":"2011-12-15T12:28:34","date_gmt":"2011-12-15T12:28:34","guid":{"rendered":"http:\/\/www.sitekickr.com\/blog\/?p=467"},"modified":"2011-12-15T12:28:59","modified_gmt":"2011-12-15T12:28:59","slug":"wordpress-duplicate-content","status":"publish","type":"post","link":"https:\/\/www.sitekickr.com\/blog\/wordpress-duplicate-content\/","title":{"rendered":"WordPress and duplicate content concerns"},"content":{"rendered":"<p>Duplicate content is a issue faced by any website, not just those driven by WordPress. But, out of the box, WordPress tends create duplicate content issues with features like<\/p>\n<ul>\n<li>Archives<\/li>\n<li>Tags<\/li>\n<li>Search<\/li>\n<\/ul>\n<p>Depending how much of your post you display on your blog home page, your home page might be doing some damage too.<\/p>\n<p>One way to avoid this, is to leverage the <a href=\"http:\/\/support.google.com\/webmasters\/bin\/answer.py?hl=en&amp;answer=93710\">robots meta<\/a> tag. By giving search engines the <strong>noindex <\/strong>instruction, we are essentially instructing them not to index this page, and not to consider it when comparing pages for duplicate content.<\/p>\n<p>The quickest way to do this, is in your WordPress theme&#39;s <em>header.php<\/em> file. Anywhere within the head section (between the opening and closing <em>&lt;head&gt;<\/em> tags), you can drop in the following code:<\/p>\n<p><code>&lt;?php if (is_home() || is_archive() || is_search())<br \/>\n\t&nbsp;&nbsp;&nbsp; echo &quot;&lt;meta=\\&quot;robots\\&quot; content=\\&quot;noindex\\&quot; \/&gt;\\n&quot;; ?&gt;<br \/>\n\t<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Duplicate content is a issue faced by any website, not just those driven by WordPress. But, out of the box, WordPress tends create duplicate content&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"amp_status":""},"categories":[19,103],"tags":[32],"_links":{"self":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/posts\/467"}],"collection":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/comments?post=467"}],"version-history":[{"count":2,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/posts\/467\/revisions"}],"predecessor-version":[{"id":470,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/posts\/467\/revisions\/470"}],"wp:attachment":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/media?parent=467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/categories?post=467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/tags?post=467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}