What is a Robots.txt File? How to Enable it in Blogger For SEO

What is a Robots.txt File? How to Enable it in Blogger for SEO.

What is robots.txt file and robots. How to enable a txt file or say how to create it. If you are looking for this information, then today you have come to the right post. Before starting this post, I would like to explain you with a small example so that you can easily understand the robots.txt file and you do not have to face much trouble.

For example, you go to some unknown city and you have a friend there. Now your mind is trying to visit the good places of that city. At that time you will expect your friend to take you to places that are worth seeing, worth visiting. When you go out for a walk in the city with your friend, your friend will take you to a place that is worth visiting. Which is worthy of your wish.

This is how robots.txt file works for your web page. Let's know more about this file and what it is and how it works.


 What is a robots.txt file and how to Enable it in blogger you must know about it if you are a blogger or you have just started blogging. Have you heard about robots? You will know that a robot is a type of machine that follows its command, this is the work of robots.txt file.

The command that we give to this file sends it to the search engine. And you must know that the job of a search engine would be to reach your post to the people. Let's know about it closely.

Hello friends I welcome your friend to my blog tecindiasandeep.com. In today's article, we will discuss about robots.txt file. After all, 'what is a robots.txt file', why robots.txt is necessary for a blog, and how to enable it in a blogger.

Also read....

👇 Click here👇

👉 SEO [Best  factor] how to generate meta tag.

👉 What is SEO ? How to SEO basic setting in blogger?

👉 What is blog ? How to earn money with blogger?



what is a robots.txt file

Robots.txt file as you know from the name itself .txt is a text file in which we can only write text. Similarly robots.txt is a file in which we write some text or message in this message of our blog. Write about the parts, which part to show in the search engine and which part is not to be shown.


For your information, let me say that robots.txt itself is a file. Which as soon as you add it to Blogger Blog, it helps to hide the confidential things on your site from the search engine.

 That is to say, when the Bot of the search engine crawls your site. The Robots.txt file then tells the search engine. Which content to index from the site. If you do not want to crawl other things on the site, then you must use it. Which will make it easier for search engines to find the content on your site.


Now the question may be arising in your mind, does this increase the ranking. So here I would like to tell you if you have added a robots.txt file to your blog or website. So, the content present on the site is quickly indexed in Google. Which increases the chance of your post appearing in Google.

 Also if you have not added this file. Or made some mistakes while adding. So your ranking may also be low. So add it carefully and correctly.


How to create a Robots.txt file for Blog


By the way, many such websites and tools are found on the Internet. Which generates a robots.txt file. You can generate them using either or below I am giving you a code.

 You first have to copy it and paste it in one place and make some changes. Or you can generate yourself by following a small trick. I will tell you two easy ways to make robots.txt file properly.

Before you know a little about it, what does its coding mean.


Allow: 

If you allow something inside a text file, it means that you want this part to be visible in the search engine. Allow it to be allowed.


Disallow:

 If you want to disallow a post, it means that you want this part / post not to appear in the search engine. Disallow happens for this.

User-agent:

 By using this option, you can show your visitors what you want to show on your site, such as where the source of the image is, where is the file saved, etc.


User-agent: Mediapartners-Google:

 By its use you can hide the adsense code from the user, if you disallow it, google adsense will not be able to show ads in your site, so it is necessary to allow it. You must allow it.

Now know how to generate it .....

First way

I am giving you a code below, you have to add something to it.



User-agent: Mediapartners-Google
Disallow:

User-agent: *
Disallow: / search
Allow: /

Sitemap: _add_url__




All you need to do here is add your sitemap url. And the whole code has to be copied.

Step 1

Come to your blogger's dashbord.

Step 2

Go to setting then go to search preferences.

Step 3

You will see a box of custom robots.txt. Next, click on edit and yes.



Step 4

Now paste the copied code here. And save it.


Second way

This method is very easy and also good, if you want you can also follow it.

Step 1

You have to come to my blog. Click on where the link is above and search by typing robots.txt in front of [slase /].

Step 2

Now your robots.txt file will be ready in front of you. You have to copy this entire code.

Step 3

Now you have to come back to the dashbord of your blog and go to the settings.

Step 4

Go to search preferences. Click yes next to Robots txt and yes.

Step 5

Now paste the copy code here and save it.

Congratulations, your robots.txt file has been successfully added to the blogger. Hopefully you have successfully completed your task.



Conclusion

In today's post, we have told you about 'robots.txt file'. Hope you find our post '[SEO] What is a Robots.txt File? How to Enable it in Blogger.' Would have liked and learned something from it. Information related to such blogging is brought to you.

If you want to learn blogging then keep following us. We thank you guys for staying with us till the end. In the next post with a new information till then, you say good bye.