How to put robots.txt file in blogger to remove a single page

Discussion in 'HTML & Website Design' started by smsinhindi, Mar 26, 2010.

  1. #1
    Hi, I don't have much knowledge of html....

    I want to remove a page from indexing , so from webmaster tool I generated a robots.txt file like

    User-agent: *
    Disallow: /p/page.html
    Allow: /

    everyone say to upload it to top-level directory ... but my question is where ?

    should I go and just paste it as it is below my <head> or there is a proper way ...

    pls suggest.
     
    smsinhindi, Mar 26, 2010 IP
  2. pmek

    pmek Guest

    Messages:
    101
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi smsinhindi,

    All you need to do is upload the robots.txt to your root directory. It doesn't need to be linked anywhere, it just has to be there. Google will then spider your site, and look for that file first.
     
    pmek, Mar 26, 2010 IP
  3. donatello

    donatello Peon

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The robots.txt file goes in your root directory. It's easy to make one... just follow the instructions here:
    [​IMG]
     
    donatello, Mar 26, 2010 IP
  4. smsinhindi

    smsinhindi Peon

    Messages:
    561
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thank you everyone.
     
    smsinhindi, Mar 28, 2010 IP
  5. y2k2

    y2k2 Guest

    Messages:
    212
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    agree with this
     
    y2k2, Mar 28, 2010 IP
  6. xaban

    xaban Member

    Messages:
    62
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #6
    You could also put in the header of page.html the following code:
    <meta name="robots" content="noindex" />
     
    xaban, Mar 28, 2010 IP