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

How to stop Google indexing some of the content on my pages

Discussion in 'Black Hat SEO' started by agent-x, Apr 11, 2012.

  1. agent-x

    agent-x Junior Member

    Joined:
    Apr 4, 2012
    Messages:
    139
    Likes Received:
    21
    Gender:
    Male
    So I have a site with lots of video clips, each one on its own page, and the kind of thing I'd like people to share. To that end I added some text boxes (textarea tags without a form) with the bbcode in them to post in forums at the bottom of each page, like a lot of sites do.

    But now stupid fucking Google has included the contents of the textareas in my keywords, which means my domain name (e.g. mydomain on its own) ends up being my top keyword because it's in the middle of the url in the bbcode several times on each page, which is obviously fucking hopeless and fucking up my ranking for what should be my top keyword.

    So how do I stop Google doing this? That bbcode isn't meant to be part of the page content but obviously Google considers that it is, and since the pages don't have much other text on them (the video is the main content) it's made a significant difference to the nature of the content of the page. So far I've thought of using js to write the content into the text boxes, but Google can parse that, or using an iframe but I really don't want to start putting iframes on my pages.
     
  2. mrtwister_65

    mrtwister_65 Regular Member

    Joined:
    Dec 30, 2009
    Messages:
    462
    Likes Received:
    534
    You can do it this way:

    Put your textarea on separate page (page2.html) with those name attributes
    On your content page 1 put iframe with source to page 2:
     
    • Thanks Thanks x 1
    Last edited: Apr 11, 2012
  3. agent-x

    agent-x Junior Member

    Joined:
    Apr 4, 2012
    Messages:
    139
    Likes Received:
    21
    Gender:
    Male
    That looks pretty good, thanks. Wasn't going to go the iframe route but I can't think of another way without running the risk of being seen as cloaking and this is one of my main money sites so don't want to risk that.
     
  4. cb.ikt

    cb.ikt Newbie

    Joined:
    Feb 18, 2012
    Messages:
    18
    Likes Received:
    5
    An easier to manage way would be to use a robots.txt in your website's root:

    Or use a robots.txt generator.
     
  5. mrtwister_65

    mrtwister_65 Regular Member

    Joined:
    Dec 30, 2009
    Messages:
    462
    Likes Received:
    534
  6. heybro

    heybro Registered Member

    Joined:
    Feb 1, 2009
    Messages:
    76
    Likes Received:
    14
    Use the NOINDEX META tags and also if your site is in Webmaster Tools submit the page to be removed.
     
  7. JanaSEO

    JanaSEO Junior Member Premium Member

    Joined:
    Dec 14, 2011
    Messages:
    101
    Likes Received:
    21
    Occupation:
    Search Engine Optimization
    Location:
    Search Engine Land
    If you have WP download a robots.txt plugin and you can tell it which pages to index and which to not.

    Or if you are really savy you can edit your robots.txt file your self in an html editor.