how to disallow a folder from being indexed

Discussion in 'robots.txt' started by bright776, Feb 1, 2014.

  1. #1
    Hi,

    I wanted to know how to disallow a folder from being indexed.

    Thanks in advance
     
    Solved! View solution.
    bright776, Feb 1, 2014 IP
  2. #2
    User-agent: *
    Disallow: /folder

    Just make sure you do this before google indexing your website, I'd also use .htaccess to block the folder if you have a apache server.
     
    Joey.9999, Feb 1, 2014 IP
  3. Rajveer singh

    Rajveer singh Member

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #3
    user-agent: *
    Disallow: /your folder (Name of the folder)

    check out robots.txt on webmaster also... :)
     
    Rajveer singh, Feb 12, 2014 IP
  4. Ehteshamshaikh

    Ehteshamshaikh Active Member

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    56
    #4
    https://support.google.com/webmasters/answer/156449?hl=en
    This will give you entire knowledge of robots.txt
     
    Ehteshamshaikh, Mar 7, 2014 IP