How to Block Google Bot
Understand what robots.txt is.The other methods use html code, whereas this one uses "robots.txt", a search engine control method used the most commonly today., Create a text file, named "robots.txt" and nothing else., Type the following., And then...
Step-by-Step Guide
-
Step 1: Understand what robots.txt is.The other methods use html code
What it is, is a text file that contains instructions for search engine crawlers, or "robots"
to follow. , It will be disregarded if incorrectly labeled. , User-agent:
GoogleBot ,, the User-Agent identifies what search program you're working with, which is Google in this case.
The Disallow section tells the spider what to not allow to show up in that search engine.
Disallowing "/" disabled the entire site. , It should work now. -
Step 2: whereas this one uses "robots.txt"
-
Step 3: a search engine control method used the most commonly today.
-
Step 4: Create a text file
-
Step 5: named "robots.txt" and nothing else.
-
Step 6: Type the following.
-
Step 7: And then on a new line below that
-
Step 8: type the following Disallow: /
-
Step 9: Understand what it does.
-
Step 10: Upload robots.txt to your website server.
Detailed Guide
What it is, is a text file that contains instructions for search engine crawlers, or "robots"
to follow. , It will be disregarded if incorrectly labeled. , User-agent:
GoogleBot ,, the User-Agent identifies what search program you're working with, which is Google in this case.
The Disallow section tells the spider what to not allow to show up in that search engine.
Disallowing "/" disabled the entire site. , It should work now.
About the Author
Theresa Sullivan
A passionate writer with expertise in DIY projects topics. Loves sharing practical knowledge.
Rate This Guide
How helpful was this guide? Click to rate: