What is Robots.txt?
Robots.txt is a file which tells the search engine crawlers what page to crawl and what not to. Simply, you can exempt your blog demo pages, label pages, archive pages and other which you don't consider as important. Search engine crawlers always scan the robots.txt file before crawling any blog.
So lets start adding this great SEO improver to your blog.
Adding Robots.txt to Blogger (Blogspot) Blogs:
To add Custom Robots.txt file to your blog, follow the basic steps mentioned below:
- Go to your blogger blog.
- Navigate to Settings >> Search Preferences ››
- Crawlers and indexing ›› Custom robots.txt ›› Edit ›› Yes
- Now paste the below robots.txt file code in the box.
User-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search
Allow: /
Sitemap: http://example.blogspot.com/feeds/posts/default?orderby=UPDATED - Remember to change the highlighted url (example.blogspot.com) with your blog address.
- Click on Save Changes button.
- You are all done.
How to Check Your Robots.txt File?
Simply add /robots.txt after your blog address and you will be shown your robots.txt file. Take a look at the below exampleAll set!
I hope you all easily added the custom robots.txt file in your blog. If you have any query regarding any of the blogspot tutorial, drop a comment below.
- Now paste the below robots.txt file code in the box.
Copy the link below and Share with your Friends:
No comments:
Post a Comment