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

How to block a url?

Discussion in 'Black Hat SEO' started by teris3, Apr 19, 2013.

  1. teris3

    teris3 Regular Member

    Joined:
    Oct 20, 2012
    Messages:
    337
    Likes Received:
    104
    Hey,
    lets say that I own http://www.myshop.com
    I have a sub-url for selling a product, lets call it http://www.myshop.com/product
    It has been online for a long time and its already indexed etc

    Lets say now that I stop selling this product and I take it offline.
    I noticed that when someone searches in Google for "myshop.com product", the link still comes up (although it returns a 404 error when you click on it)
    How can I block entirely Google for returning results for this sub-url?
    How can I block http://www.myshop.com/product , de-index it completely?
    (using Webmaster tools perhaps?)
     
  2. zeehan

    zeehan Newbie

    Joined:
    Nov 11, 2012
    Messages:
    15
    Likes Received:
    8
    You got the idea. Use google webmasters tools. request for a link to be deindexed.
     
  3. teris3

    teris3 Regular Member

    Joined:
    Oct 20, 2012
    Messages:
    337
    Likes Received:
    104
    do i file a request or should I add the urls in the robot.txt file??
     
  4. gsy159

    gsy159 Power Member

    Joined:
    Apr 29, 2011
    Messages:
    667
    Likes Received:
    159
    User-agent: *
    Disallow: /product/

    add that to your robots.txt