How to add robots.txt file in blogger new interface

What is Robot txt - First of all, let us tell you what is Robot txt and how it helps in your website, Robot txt helps in crawling and indexing your website and tells Google which post you want to index and which post not. 


How to add robots.txt in blogger new interface


In simple terms, it just gives a signal to the google search engine for indexing and crawling the blog posts, and we will also tell you how you can check robots txt by going to your blog.

To check robot txt in your blogger, slash robots txt next to your URL in your blogger, your robots.txt will be shown


Steps to open robots Txt file in blogger.

add robots.txt in blogger new interface



Go to your blog to open the robot txt file. Now after going to the blog, write the robot.txt with a slash in front of your website URL, after typing, you have to press enter, as soon as you press the enter button your robot The file of txt will start showing in front of you, now you have to copy that file, after copying, what you have to do, we will tell you in the next step.



Your robot dot txt file will show you this way -


User-agent: Mediapartners-Google

Disallow:


User-agent: *

Disallow: / search

Disallow: /


User-Agent: googlebot

Disallow: / search

Allow: /


Add robots.txt in blogger new interface

add robots.txt in blogger


Now you have to come to your blogger account, after going to the blog, you will have to come to your blogger settings. After clicking on the setting, when you scroll down your cursor, you will show an option of crawling and indexing, in that option you have to paste your custom robot dot txt file and save it.


And keep in mind that as soon as you enable your custom robot txt option, you will see a different option of a custom robot.txt, where you have to paste your robot txt file and click on the Save button.


Now the file will start showing well on your blog, just by writing slash robot dot txt in front of your URL, check whether your robots txt file is showing or not.


Add sitemap file to robot.txt

Now your robot txt file is ready, now you have to add your sitemap file under it so that the crawling and indexing of posts and pages can be done easily.


Example of the complete robot txt file:


User-agent: Mediapartners-Google

Disallow:


User-agent: *

Disallow: / search

Disallow: /


User-Agent: googlebot

Disallow: / search

Allow: /

Sitemap: https://www.simplifyblogging.xyz/sitemap.xml

Now your complete robot txt file will look like this, now you have to copy and paste this file in your blogger, now whenever you check robot txt your file will look like the example given above.


Conclusion:

By the way, a robot txt file is very essential for blogger, but if you do not know much about it and do not know how to use robot txt properly then you should not change your blogger's robots file setting, it should remain at the default setting and do not turn the setting on. Because if you have made the wrong setting, then your blog posts may be removed from Google.

Post a Comment

Post a Comment (0)

Previous Post Next Post