How to Block Directory From Webpage??

Discussion in 'Search Engine Optimization' started by solarbroker, Jun 28, 2013.

  1. #1
    If i don't want to crawl any directory from my home page.How can i do this??
    i think any code i have to write in my home page. What is the code???
     
    solarbroker, Jun 28, 2013 IP
  2. gombile13

    gombile13 Active Member

    Messages:
    136
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    63
    #2
    you can add this meta tag to your homepage html file, place on the header section

    <meta name="robot" content="noindex,follow" />

    or add a robots.txt file, containing

    # Google Bot
    User-agent: *
    Disallow: /
     
    gombile13, Jun 30, 2013 IP