How to setup and enable custom robots.txt file
Step 1 : Go to blogger dashboard>>Setting>>Search Preference
Step 2 : Click on ‘custom robot.txt’
Step 3 : Now click Edit and Select Yes.
Step 4 : Copy and Paste the following code in the box provided.
Step 5 : Now click on Save Changes
Step 6 : Only replace “yourblogname.com” with your blog’s homepage URL
Mediapartners-Google – Media partner Google is the user agent for Google AdSense that is used to server better relevant ads on your site based on your content. So if you disallow this they you will won’t able to see any ads on your blocked pages.
User-agent:*: User-agent is calling the robot. * is for all the search engine’s robots like Google, Yahoo and Bing etc.
Disallow: This line tells the search engine’s crawler not to crawl the search pages.
Allow – Allow: / simply refers to or you are specifically allowing search engines to crawl those pages.
0 comments:
Post a Comment