How to enable Custom Robots.txt File in Blogger? | Custom robots header tags Blogger



Adding Custom robots header tags and Custom robots.txt to blogger,If you want to enable this feature in your blogger account, please follow the steps below. Enabling custom robots header tags and custom robots.txt in blogger is very simple. Robots.txt aids in Google Crawlers and Indexing, but you must carefully enable it so that it functions properly for your website. Carefully follow the instructions below to enable a custom robots.txt file.custom robots header tags blogger

How to activate the "Custom robots.txt" and "Custom robots header tags" features is provided below.

Step 1

Go to "Dashboard>Settings>Search preferences" after logging into your Blogger account. This is where you will find the "Crawler and indexing" section.

Step 2

You will see three options in the Crawler and Indexing section here, two of which must be enabled. You must enter some code here after clicking "Edit" and choosing "Yes." Simply replace your site's domain in "sitemap: https://yourdomain/sitmap.xml" by copying and pasting the code below into the box.

     â®žâ®žâ®ž--------- robots.txt file code --------------⮜⮜⮜



User-agent: Mediapartners-Google
Disallow: 

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

Sitemap: https://khanresearch4u.blogspot.com/sitemap.xml

---------------------------------------------------------------------------------------------------------------
 

Step 3

Click "Save Changes" after changing your domain, then "Custom robots header tags" must be enabled. Select the same option as shown in the picture below by clicking "Edit" after doing so. Once you carefully complete this setting and click the "save changes" button, your blogger site's Robots.txt files will be successfully enabled.

  
And Do not Forget to Follow  these Steps




Custom robot tags for home page


                                                You have only enable these two things






Custom robot tags for archive and search pages


      You have only enable these two things






Custom robot tags for posts and pages

      You have only enable these two things


You have to sure that you have do  that perfectly  and save this . If you have any Question  leave a comment  and share to your friends.