Last Updated on August 21, 2013 by
Robots.txt is a text (not html) file you put on your site to tell search robots which pages you would like them not to visit. Robots.txt is by no means mandatory for search engines but generally search engines obey what they are asked not to do. A blogger blog must have a Robot.txt file. This Robot.txt file tells a web crawler which pages are allowed to crawl, which are not. It helps you removing the duplicate contents from the search results. You can prevent Search engines from not indexing the unwanted pages using this Robot.txt file.
A simple Robot.txt file consists of following elements
- User Agent: These user agents are nothing but search engine crawlers
- Allow: This will allow the pages you would like to get indexed
- Disallow:This will remove results from search engines for those specific pages, i.e. crawlers will not crawl those pages
- Sitemap: URL of the Sitemap of the website
- Go to Blogger Dashboard > Your Blog > Settings > Search Preferences
- Here you will see Crawlers and indexing. Enable custom robots.txt content.
- After enabling custom robots.txt content, a blank field will appear
- Enter the following code in the blank field
- Change “YOUR_BLOG_URL” with your original one & Save Changes
Leave a Reply