How To Add Custom Robots.txt File in Blogger?

How To Add Custom Robots.txt File In Blogger it is very Important For SEO. You Know SEO Play important Role in Search Engine.when you start a new Blogger you need to SEO For your blog. Similar Custom Robots is Also important in SEO. Robots.txt file is a simple text.Robots.Text File plays very important Role as SEO and Crawler Your Site or Post in Search Engine Google.Bring.Yahoo and Other Search Engine.

How To Add Custom Robots.txt File in Blogger?


Today we Discuss what is Custom Robots.txt file and How To Add Custom Robots.txt File In Blogger it is very Important For SEO. You Know SEO Play important Role in Search Engine.when you start a new Blogger you need to SEO For your blog. Similar Custom Robots is Also important in SEO. Robots.txt file is a simple text.Robots.Text  File plays very important Role as SEO and Crawler Your Site or Post in Search Engine Google.Bring.Yahoo and Other Search Engine.



In one of my previous posts, I had discussed Custom Robots Header Tags Settings for blogger.

If you have read that post then I hope you guys are aware of its importance in search rankings.
Today, I am back with a very useful and must aware blogging term that is Robots.txt.

In blogger it is known as Custom Robots.txt that means now you can customize this file according to your choice.

In today's tutorial, we will discuss this term in deep and come to know about its use and benefits. I will also tell you how to add custom robots.txt file in blogger.

So let's start the guide. 
More...

What is Robots.txt?

Robots.txt is a text file which contains few lines of simple code.

It is saved on the website or blog's server which instruct the web crawlers on how to index and crawl your blog in the search results.

That means you can restrict any web page on your blog from web crawlers so that it can't get indexed in search engines like your blog labels page, your demo page or any other pages that are not as important to get indexed.

Always remember that search crawlers scan the robots.txt file before crawling any web page.

Each blog hosted on blogger has its default robots.txt file which is something look like this: 
User-agent: Mediapartners-Google Disallow:
User-agent: * Disallow: /search Allow: /
Sitemap: http://yourdomain.com/atom.xml?redirect=false&start-index=1&max-results=500 Sitemap: http://www.example.com/sitemap.xml Sitemap: http://www.example.com/sitemap-pages.xml


Explanation 

This code is divided into three sections. Let's first study each of them after that we will learn how to add custom robots.txt file in blogspot blogs.
User-agent: Mediapartners-Google 
This code is for Google Adsense robots which help them to serve better ads on your blog. Either you are using Google Adsense on your blog or not simply leave it as it is.
User-agent: * 
This is for all robots marked with asterisk (*). In default settings our blog's labels links are restricted to indexed by search crawlers that means the web crawlers will not index our labels page links because of below code.
Disallow: /search 
That means the links having keyword search just after the domain name will be ignored. See below example which is a link of label page named SEO.

And if we remove Disallow: /search from the above code then crawlers will access our entire blog to index and crawl all of its content and web pages.

Here Allow: / refers to the Homepage that means web crawlers can crawl and index our blog's homepage.

Disallow Particular Post

Now suppose if we want to exclude a particular post from indexing then we can add below lines in the code.
Disallow: /yyyy/mm/post-url.html
Here yyyy and mm refers to the publishing year and month of the post respectively. For example if we have published a post in year 2013 in month of March then we have to use below format.
Disallow: /2013/03/post-url.html
To make this task easy, you can simply copy the post URL and remove the blog name from the beginning.

Disallow Particular Page

If we need to disallow a particular page then we can use the same method as above. Simply copy the page URL and remove blog address from it which will something look like this:
Disallow: /p/page-url.html
Sitemap: http://example.blogspot.com/feeds/posts/default?orderby=UPDATED
This code refers to the sitemap of our blog. By adding sitemap link here we are simply optimizing our blog's crawling rate.

Means whenever the web crawlers scan our robots.txt file they will find a path to our sitemap where all the links of our published posts present.

Web crawlers will find it easy to crawl all of our posts.

Hence, there are better chances that web crawlers crawl all of our blog posts without ignoring a single one.

Note: This sitemap will only tell the web crawlers about the recent 25 posts. If you want to increase the number of link in your sitemap then replace default sitemap with below one. It will work for first 500 recent posts.
Sitemap: http://example.blogspot.com/atom.xml?redirect=false&start-index=1&max-results=500
If you have more than 500 published posts in your blog then you can use two sitemaps like below:
Sitemap: http://example.blogspot.com/atom.xml?redirect=false&start-index=1&max-results=500
Sitemap: http://example.blogspot.com/atom.xml?redirect=false&start-index=500&max-results=1000

Adding Custom Robots.Txt to Blogger 

Now the main part of this tutorial is how to add custom robots.txt in blogger. So below are steps to add it.
  1. Go to your blogger blog.
  2. Navigate to Settings >> Search Preferences ›› Crawlers and indexing ›› Custom robots.txt ›› Edit ›› Yes
  3. Now paste your robots.txt file code in the box.
  4. Click on Save Changes button.
  5. You are done! 



How to Check Your Robots.txt File? 

You can check this file on your blog by adding /robots.txt at the end of your blog URL in the web browser. For example: 
http://www.yourblogurl.blogspot.com/robots.txt
Once you visit the robots.txt file URL you will see the entire code which you are using in your custom robots.txt file.
See below image.

Final Steps:

After Click on Search preferences and Enable Setting and Click on Edit Option.
  1. Go to your blogger blog.
  2. Navigate to Settings >> Search Preferences ›› Crawlers and indexing ›› Custom robots header tags ›› Edit ›› Yes
  3. Click on Save Changes button.
  4. You are done! 



Final Words! 

  • This was the today's complete tutorial on how to add custom robots.txt file in blogger.
  • I tried my best to make this tutorial as simple and informative as possible. But still if you have any doubt or query then feel free to ask me in the comment section below.
  • Make sure not to put any code in your custom robots.txt settings without knowing about it. Simply ask me to resolve your queries. I'll tell you everything in detail.
  • Thanks guys for reading this tutorial. If you liked it then please support me to spread my words by sharing this post on your social media profiles. Happy Blogging!

    • If you have any question regarding this post then feel free to ask me and comments.

COMMENTS

shopify
Themeforest
Godaddy
Themeforest
Godaddy
Name

Ads-Blogger,13,Blog,12,Blog-Blogger,6,Blog-Wordpress,1,Blogger,30,CMS,4,Joomla,9,Magento,8,Opencart,5,Premium-Blogger,8,Project-C-And-Cplus,7,Templates-HTML,6,Wordpress,48,
ltr
item
Blogger Templates, Wordpress Themes, Joomla Templates, Magento Themes Free And Paid Download: How To Add Custom Robots.txt File in Blogger?
How To Add Custom Robots.txt File in Blogger?
How To Add Custom Robots.txt File In Blogger it is very Important For SEO. You Know SEO Play important Role in Search Engine.when you start a new Blogger you need to SEO For your blog. Similar Custom Robots is Also important in SEO. Robots.txt file is a simple text.Robots.Text File plays very important Role as SEO and Crawler Your Site or Post in Search Engine Google.Bring.Yahoo and Other Search Engine.
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhviH_NaU0ljEN1AovtG5GEmPW8aUEdp488iOV5wEZ4keJdndyCRcSIEiTOt8fmL9I0dsCIb4ODr3DvHENUTbzpSMlcrLsY4Lnne_bLpGTyZc1TdTNkKb2-ZAQzo3e6T7e5iGHqDqcv5ZYV/s1600/Custom+Robots.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhviH_NaU0ljEN1AovtG5GEmPW8aUEdp488iOV5wEZ4keJdndyCRcSIEiTOt8fmL9I0dsCIb4ODr3DvHENUTbzpSMlcrLsY4Lnne_bLpGTyZc1TdTNkKb2-ZAQzo3e6T7e5iGHqDqcv5ZYV/s72-c/Custom+Robots.jpg
Blogger Templates, Wordpress Themes, Joomla Templates, Magento Themes Free And Paid Download
https://www.utsthemesblog.com/2020/04/how-to-add-custom-robotstxt-file-in.html
https://www.utsthemesblog.com/
https://www.utsthemesblog.com/
https://www.utsthemesblog.com/2020/04/how-to-add-custom-robotstxt-file-in.html
true
8263452242709770316
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content