Wednesday, 31 May 2017

How to Add Custom Robots.txt File in Blogger (Blogspot)?


Under: ,
For better performance of our blog we need to optimize it for better SEO. A better SEO is also needed to get organic traffic from search engines. One great step towards a better SEO is adding robots.txt file to your blog. It tells the search engines crawlers about what page to crawl and what not to. In Blogger (Blogspot) we have the option to customize the robots.txt file according to our needs. But before adding it to your blog firstly as a beginner we need to know about what is robots.txt file. So lets start the tutorial.

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:
  1. Go to your blogger blog.
  2. Navigate to Settings >> Search Preferences ›› 
  3. Crawlers and indexing ›› Custom robots.txt ›› Edit ›› Yes
  4. 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
  5. Remember to change the highlighted url (example.blogspot.com) with your blog address.
  6. 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 example


All 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.

5 comments:

Tech Sources on 25 October, 2017 said...

I have a web domain....like any domain i am using mysitename.blogspost.in replace my web domain? Give ans

Tech Sources on 25 October, 2017 said...

Seo robot txt file

Hammad Ansari on 27 October, 2017 said...

@Tech Sources

Yes! You can use your domain.blogspot.com in the sitemap url of robots.txt file.
Stay connected :)

Reshmi on 08 December, 2017 said...

thnks

Hammad Ansari on 10 December, 2017 said...

@Reshmi
Stay Connected with Us :)

Confused? Feel free to ask!

We love comments! We appreciate your queries but to protect from being spammed, all comments will be moderated by our human moderators. Read our full comment policy here.
Let's enjoy a happy and meaningful conversation ahead!

 

Facebook

Recent Comments

Copyright © 2017 All Rights Reserved by BBeginner.Com ׀ Designed by Hammad Ansari. DMCA.com Protection Status