1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

De-Index Categories

Discussion in 'Black Hat SEO' started by InsanelySane, Mar 11, 2014.

  1. InsanelySane

    InsanelySane Power Member

    Joined:
    Nov 23, 2013
    Messages:
    562
    Likes Received:
    111
    How do I de-index category and author pages in wordpress? I have full posts on homepage and then google has also indexed my categories yet again showing full posts. I dont want the duplicate content.
     
  2. kbklash

    kbklash Senior Member

    Joined:
    Jun 2, 2012
    Messages:
    1,140
    Likes Received:
    449
    Location:
    in my BMW to my BHW
    Home Page:
  3. InsanelySane

    InsanelySane Power Member

    Joined:
    Nov 23, 2013
    Messages:
    562
    Likes Received:
    111
    what if its a PBN and I dont wannt point GWT at it? lol.

    Is there another way besides yoast and GWT?
     
  4. kbklash

    kbklash Senior Member

    Joined:
    Jun 2, 2012
    Messages:
    1,140
    Likes Received:
    449
    Location:
    in my BMW to my BHW
    Home Page:
    Use robot.txt to make it no-follow

    Disallow:/category/
    Disallow:/author/

    or try with PHP


    <?php if ( is_page_template( 'category-page.php' ) )
    <meta name="robots" content="noindex, nofollow">
    endif;
    ?>
    Add it to your header.
     
  5. WebMeUp

    WebMeUp Regular Member

    Joined:
    Aug 8, 2012
    Messages:
    204
    Likes Received:
    51
    Home Page:
    You can also do that in Google Webmaster Tools.

    Here are the steps to follow:

    1) Login to Google Webmaster tool
    2) Site dashboard > Optimization > Remove URL's
    3) Add http://www.domain.com/author-page and http://www.domain.com/category/ and select Remove directory option.
    4) Hit submit request, all categories and tag pages will be out of Google index within 24-48 hours of removal request.

    Also, make sure you use the noindex option for tags and categories pages in WordPress SEO by yoast or Meta robots plugin so that it never get indexed again.