Monday, December 30, 2019

Robot.txt kya hai aur Ise Blog me kaise Add kare

Robot.txt kya hai aur Ise Blog me kaise Add kare

There are many things inside our blog, but there are many things in the blog that we have to stop from indexing in Search Engine. So in this post, I will tell you how to use Robot.txt in Blog I will try to do
image
There are many blogs on the Internet that are private, that is, people keep their personal things in it. When I was new in the blog, I did not know much about it. But when I researched, I came to know that it was for someone Much better and someone's worthless.
What is robot.txt?
Robot.txt is a code file. If you share private things in a blog, then it may come less for you. If you want to hide something from Search Engines and show it, then with the help of it you can do it.
How does robot.txt work?
Actually Robot.txt file works like Bodyguard for your site. When a person searches in the search engine related to our site, our blog is also shown and when he clicks on our blog title, then Robot.txt tells what is allowed to show on the site.
How to create a robot.txt file for a blog.
By the way, there are many Sites on the Internet Robot.txt but there is no limit to them. That is why I am telling you how to create a Robot.txt file, so that you can make it easily and easily.
1.Allow
Allow is used to show us what to do on our site.
2.Disallow
This is no less in our site. This code is only for Private Users. Use Disallow to hide something in the site.
3.User Agent: Media Partners Google
This is for Adsense. If you want to hide Ads in your Site from Search Engine, then this code is used.
4.User-Agent:
Yapak is for the Visitor of the site, what they should see in your site and what not. Let it be disallow you.
5. Sitemap
This is important for a site like ours. With this, we try to index the posts we write in the Site in Search Engine soon. Sitemap allows us to show which posts are less visible in our blog, which posts have many Url keywords, which url is more popular. If you want to add Sitemap Robot.txt to your site before that You can create your Sitemap, read this post to make it. Blog of Liye Sitemap kaise banaye.
After that copy this code.
User-agent: Mediapartners-Google
Disallow:
User-agent:
Disallow: / search
Allow: /
Sitemap: https://www.blogginghindi.com/sitemap.xml
Note:Instead of Blogginghindi.com/sitemap.xml, enter the URL of your Sitemap.
Robot.txt file ko blog me kaise add kare.
Now after copying the code, you have to add it to your blog, for this follow the steps below.
Step 1: –First of all, login to Blogger.com and login.
Step 2: –Now go to the Dashboard of the blog.
image
Image Options: –
Go to 1.Sitting.
2. Click on Search Preferences.
3. Now click on Edit in front of Costom Robot.txt.
Step 3: –Now a page will open, you paste the code in the box and select Yes in front of Enable Costom Robot.txt and click on the Save Changes in the last.

No comments:

Post a Comment