Home > blogging > Plugin: WordPress Duplicate Content Cure

Plugin: WordPress Duplicate Content Cure

March 2nd, 2007 ogletree

Update: 3-04-07

You can change line 24 in the plugin from:

if((is_single() || is_page() || is_home()) && (!is_paged())){

to

if((is_single() || is_category() || is_page() || is_home()) && (!is_paged())){

and that will put your category pages in Google. This plugin is very simple and can be modified very easily.

I just installed the WordPress Duplicate Content Cure. WordPress creates lots of different pages that are very similar or completely the same. What it does is put a “noindex,follow” tag on these pages.

Be carefull with this plugin it can hurt your rankings. It is very common for a blog to rank for category pages. This plugin will remove all pages other than the ones you create. It will remove the category pages from google. Category pages rank well in Google because you end up with a pretty high keyword density and the internal linking. I am not recommending this plugin just testing it out. I may end up making some changes to it. I think it is a good idea just knocks out a bit too much.

Categories: blogging Tags:
  1. March 2nd, 2007 at 09:08 | #1

    Thanks for the post. I would be interested in a wordpress seo plugin and css skin combo list or a simple guide to making wordpress search engine optimized. I like this Plugin, but does it take retroactive effect ie if I have older pages already indexed in Google that have pagerank etc will I lose this due to the noindex,follow tag?

    Thanks

  2. March 3rd, 2007 at 22:18 | #2

    If it could be configured to exclude just archive pages then it might be worth checking out. Category pages are good from a search engine perspective because they are focused (hopefully) on a particular topic. Archive pages on the other hand are topicless groupings of content that are likely to go supplemental.

    I usually advise those that ask to remove archive pages from their navigation, but a plug-in that excluded them might be more appealing to those that like the idea of an archive. The only thing I like about archives is they show the age of your blog which can buy you some credibility with your readers.

  3. March 4th, 2007 at 23:45 | #3

    Just a heads up. Your modification to the duplicate content cure plugin isn’t doing what you want it to do. Your mod only allows the first page of the category to be indexed. I have updated the plugin so that you can now specify whether or not you want to keep your category pages indexed, and it will keep all category pages, not just the first page of each category.

    You can download the updated version (see the link above)

  4. March 5th, 2007 at 12:38 | #4

    Your right I did not think about that. But now that you mention it that is what I want. I only want one page per category indexed. Any more would get back into the duplicate content issue. I might want more category pages indexed if I figured out a way to give each one a different title. Pages with same title tend to go into the sup index.

  5. March 25th, 2007 at 11:05 | #5

    Yes.  you can stick the code right above the <title> tag.  If you will notice I took out the index, follow part because that is redundant.  I personally think it is retarded to add that junk to your site.   Google will scoop up anything.
     
    <?php
    if((is_single() || is_category() || is_page() || is_home()) && (!is_paged())){
     
    }else{
    echo "<meta name=\"robots\" content=\"noindex,follow\">\n";
    }
    ?>

  6. July 2nd, 2008 at 12:36 | #6

    Thanks for the code – I am going to try it in my header to see if I can get the number of pages stuck in the supplemental index down. Thank you!
    Homemaker Barbi

  7. January 21st, 2009 at 03:44 | #7

    There are even more duplicate content issues with wordpress now comment pagination is here – multiple URLs with the same title, description and post but with different comments.

  8. Omer
    March 17th, 2009 at 12:53 | #8

    wow this should be in the wordpress documentation. Great stuff :) Very helpful.

  9. October 30th, 2009 at 05:33 | #9

    I arrived a little too late, my blog already was deindexed for some keywords but i’m glad i found the solution. Now i’m searching to remove page/2/ page/3/ etc from search engines and /tag/ pages. Thanks for the code and all the best.

  10. November 20th, 2009 at 14:23 | #10

    Mars N-

    add Disallow: /tag/ in your robots.txt. Should take care of the tag/ pages being crawled/indexed.

  11. May 29th, 2010 at 18:26 | #11

    @ogletree

    ogletree :
    Yes.&nbsp;&nbsp;you can stick the code right above the &lt;title&gt; tag.&nbsp;&nbsp;If you will notice I took out the index, follow part because that is redundant.&nbsp;&nbsp;I personally think it is retarded to add that junk to your site.&nbsp;&nbsp; Google will scoop up anything.
    &nbsp;
    &lt;?php
    if((is_single() || is_category() || is_page() || is_home()) &amp;&amp; (!is_paged())){
    &nbsp;
    }else{
    echo "&lt;meta name=\"robots\" content=\"noindex,follow\"&gt;\n";
    }
    ?&gt;

    Is this in response to a question I missed? Because it seems to answer a question I’m also wondering about; just to clarify, if I put the code (from the quoted response) in the header, there’s no need for me to use the plug-in and your revision of the plug-in right?

    Thanks so much for this, I’ve been looking for how i can have the “category” indexed but not the succeeding pages of said category.

    Thanks

  12. November 11th, 2010 at 14:39 | #12

    I was scanning something else about this on another blog. Interesting. Your position on it is diametrically contradicted to what I read earlier. I am still mulling over the diverse points of view, but I’m leaning heavily toward yours. And regardless, that’s what is so superb about modernized democracy and the marketplace of thoughts on-line.

  13. May 3rd, 2011 at 02:24 | #13

    Hello,

    I created a plugin that can help minimize the effects of duplicate content, you can see the explanation and how it works.

    http://wpplugins.com/plugin/810/random-number/

    I hope it helps

Comments are closed.