First of all, go to Blogger.com >> your site >> Settings >> Search engine Preference >> Crawlers and indexing. Now you will be able to see two options i.e. Custom robots.txt and Custom robots header tags. These two options would provide you the flexibility to customize your robot.txt file.
- Custom robots.txt: This option provides you the ability to edit your whole robot.txt file. You can just type your content whether you want the content to be crawled by spiders or not. However, You can always undo your actions and can always revert back to normal.
- Custom robots header tags: This option is a bit completed. It does not provide you the ability to write your codes instead it provides few options with the check boxes. So, if have no idea about head tags then stay away from it.
Now you have to enable the custom robot.txt file so press the edit button which is present next to the “Custom robots.txt” option. After selecting the edit button, it would ask you to enable custom robots.txt content so press “Yes” and proceed to the next step.
In the text area, type the content which you want to exclude from being crawled. After editing the file according to your needs, press the save button to conclude. However, if you want to revert back to the default robot file then, you can select “No” instead of “Yes.
For Example:
User-agent: *
Disallow: /about
User-agent: *
Disallow: /contact
User-agent: *
Disallow: /services
We hope this tip would help you. If you are having any issue regarding crawling then, feel free to leave your questions in the comments below and our experts would try to help you in solving them.
Thanks Syed Bro well explanations. We will just only write the name of page like About me.
ReplyDeleteor
We have to write full url of that page and put it here. How?
No, you have to write the URL. For example, if your want to stop robots from crawling this URL (www.mybloggerlab.com/p/about.html) then, in the robot.txt file you will enter this command.
DeleteUser-agent: *
Disallow: p/about.html
Exclude the main domain and just type the remaining part of it.
You have to include this as disallow condition.
DeleteDisallow: /p/about.html
pls explain the examples mentioned in detail
ReplyDeleteWe will create a separate article to explain the commands which we use in robot.txt file.
DeleteHi,previous when i publish a post i could see it in google search results in a few minutes,it was gettting indexed automatically .But now donno what happened,i dont see my published post in google even after a day,and if I manually submit my blog post to google ,it is getting indexed.Pease let me know what would the problem.
ReplyDeletemy blog: genuinecontent.blogspot.com
It is not only you who is facing this issue. Almost the majority of BlogSpot blogs are getting index lately. So don't get dishearten and hope of the best.
DeleteSyed i have insert my robot.txt file in blogger dashboard in crawling section like this is it OK.
ReplyDeleteUser-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search
Allow: /
Sitemap: http://www.probloggertricks.com/feeds/posts/default?orderby=UPDATED
Yup, its fine
DeleteYes, This is default robots.txt file. If you keep disable custom file, then the same file will work for blogger. You can verify your default robots.txt file using:
Deletewww.yourblog.com/robots.txt
use this sitemap in your blog robots.txtfile like www.yourblogaddress.com/sitemap.xml it is best for seo...
DeleteI'm not much know about robots.text . If it's possible please tell me what should become robots.text for my blog and how I wrote it my blog : http://seo-supports.blogspot.com
ReplyDeleteYou are using Default Robots.txt file Its fine there is no need to edit. Cheers
DeleteYou should add Description specially while publishing a post. Its better to it manually.
ReplyDeleteThis is a Default Robot file so its just fine.
ReplyDeleteUser-agent: Mediapartners-Google
DeleteDisallow:
User-agent: *
Disallow: /search
Allow: /yahoo.com
Sitemap: http://fun-with-fun.blogspot.com/feeds/posts/default?orderby=UPDATED
is this ri8?
DeleteYes Diya
Deletewhy should we add robot txt ?
ReplyDeleteThrough it, you can control the crawling of your site. You can let search engine index few but not index everything. its like a key to your site for crawllers
DeleteI had a robot.txt file, but I did not like how it worked, so I DISABLED it to get back to normal. How long will it take to get back to the default condition as far as operation is concerned? It is not immediate.
ReplyDeleteOn Disabling the Robot.txt file it gets back to normal within seconds. Cheers
DeleteYour Robot file is default. and I don't see any problems from here. I also Google'd your site and every thing seems to work fine at my end. Cheers
ReplyDeleteThanks
ReplyDeletenice info, thanks
ReplyDeleteThanks very much, much helpful
ReplyDeleteplease tell me what should be the code if i want all my pages and posts being crawled by search engines ...
ReplyDeleteis this code is ok
User-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search?q=*
Disallow: /*?updated-max=*
should i also add the sitemap?
Allow: /
Adding to my previous comment pl tell is this code is alright,
ReplyDeleteUser-agent: Mediapartners-Google
Allow:/
User-agent: Googlebot
Disallow: /?m=1
Disallow: /?m=0
Disallow: /*?m=1
Disallow: /*?m=0
User-agent: *
Disallow: /search?*
User-agent: Twitterbot
Allow:/
User-agent: *
Disallow: /search
Disallow: /p/*
Disallow: /view/*
Allow: /
Sitemap: http://aboutwomenhealthandbeauty.blogspot.com/feeds/post/default?orderby=UPDATED
it would be grateful to you, if you answer my query,
Regards,
There no need to do anything, Just use default robot.txt file as provided by blogger itself
DeleteHere you go
DeleteUser-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search
Allow: /
Sitemap: http://www.mybloggerlab.com/feeds/posts/default?orderby=UPDATED
Replace: MyBloggerlab.com with your domain.
Thanks for your answer but I found no default setting there, robot.txt file is disabled by default. What I am supposed to do in search preferences then?
ReplyDeleteCheck the above comment!
DeleteSir, this is harsha. My web page is not displayed in search engine and also it is not opening. In some systems our website is opening which do not have the security for systems and the systems which have avast security then it is not opening. could you please help me sir.....
ReplyDeleteCan you provide your blog URL?
DeleteHello. I'm using blogspot as my platform. I want to disallow three pages from search engine crawlers. Can you show sample I can follow in the Customs Robot.txt box?. Appreciate your response. Thank you.
ReplyDeleteHere's the example
DeleteUser-agent: *
Disallow: /search
Disallow: /2013/03/how-to-remove.html
Allow: /
Hey MBL,
ReplyDeleteJust wanted to ask, how long does it take for a custom robots.txt file to show up/start working?
I applied one on my blog recently but when i navigate to mysite.com/robots.txt it still shows the default robots.txt content and not the one i added.
So wanted to know how long does it take for a custom file to come in effect.
Thanks
It takes seconds to implement. Check whether you're adding it correctly or not.
Deletesir,
ReplyDeletesince i updated me robots.txt file on my blog i lost traffic from google...plz help ...
my blog traffic has drop down to 10% as it was before...what to do....plz help...is there any other reasion ..plz let me know..or plz tell the errors in my robots.txt file..
my blog - www.supper-android.blogspot.com/
This is your Robots.txt File
DeleteUser-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow:
Allow: /
Sitemap: http://www.supper-android.blogspot.com/atom.xml?redirect=false&start-index=1&max-results=500
Sitemap: http://www.supper-android.blogspot.com/feeds/posts/default?orderby=UPDATED
Replace the Disallow with this
Disallow: /search
And Then, It might help you out.
how long it takes time to effect?
ReplyDeleteIt affects as soon as your site is recrawled.
DeleteHello, I am having problems with Twitter Cards and Blogger. My blog is www.bondadanonima.com.
ReplyDeleteTwitter's Troubleshooting page suggests: Configure your web servers to allow Twitter access via the robots.txt file.
witter uses the User-Agent of Twitterbot (with version, such as Twitterbot/1.0), which can be used to create an exception in your robots.txt file.
User-agent: Twitterbot
Disallow:
How/where do I do this?
Many thanks in advance
Sir Create A blog And Set Up A domain After This I am Apply for Adsense They Are ask me for This Error ( http://www.selectomobile.tk/robots.txt?m=1#150 ) How I can solve this???Please helpme
ReplyDeleteApply At Adsense.com
Deletewill this affect traffic ?
ReplyDeleteLike wordpress i also want robot.txt to allow blogger labels to appear in search result. How to allow label and suppose if i do this the result will be better or not.
ReplyDeleteIf you want your labels to be indexed, replace your robots.txt file with this
DeleteUser-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search
Allow: /search/label
Allow: /
Sitemap: http://www.yoursite.com/sitemap.xml
Its to mention that indexing Labels won't help in rankings.
Deletehey thanks bussy for such information, ihave a blog on blogspot ( http://whatsappstatus-mystatus.blogspot.in/ )
ReplyDeletend my robot.text is
# Blogger Sitemap generated on 2015.12.16
User-agent: *
Disallow: /search
Allow: /
Sitemap: http://whatsappstatus-mystatus.blogspot.in/atom.xml?redirect=false&start-index=1&max-results=500
but when im searching my blog in google it always shows
A description for this result is not available because of this site's robots.txt.
for all my labels.. i dont know what is getting wrong could u help me figure out this problem.
thanks aarav
Labels doesn't provide any description in the search, this is how Blogger site works. You can't do anything about it.
Deletethanks for reply on my post.
Deletemy secound question is this
how could i get better rank in google?
after submiting my blog in google webmasters im not getting any traffic from google . its 1 month now . what is the problem ?
Webmaster tool just helps you index your pages in search, but to get traffic from Google you need to rank your website on keywords that are searched by people.
Delete1. You need backlinks to get better ranking.
2. Better Social Score.
3. Great Content.
Read this post to know about different ways to get traffic:
http://www.mybloggerlab.com/2012/06/how-to-bring-real-targeted-usa-visitors.html
http://www.mybloggerlab.com/2012/02/5-fantastic-tips-to-increase-website.html
i have two robots.txt file which one is correct
ReplyDeleteUser-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search
Disallow: /search?q=*
Disallow: /*?updated-max=*
Allow: /
Sitemap: http://lifehacklife.blogspot.com/sitemap.xml
2:
User-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search
Disallow: /search?q=*
Disallow: /*?updated-max=*
Allow: /
Sitemap: http://lifehacklife.blogspot.com/feeds/posts/default
Both looks fine, You have just changed the sitemap link. It depends on you which sitemap link you choose.
DeleteCheers