Preventing web crawlers from indexing everything



Ok, so we’ve seen how to password protect directories to keep the web crawlers out, but I don’t want to go through that. I want to keep the page open, but I don’t want it spidered and indexed by the bots.

There are ways for doing this too. In fact there are several. The most commonly accepted and respected way of telling a bot not to crawl certain areas of a website is with what’s called a robots.txt file. Usually this is put in the same folder as your main site index and looks like this.

User-agent: *
Disallow: /

The above will keep all robots out of your site. This might be too heavyhanded though. Let’s say the msnbot has been a bit too voracious with your downloads area

User-agent: msnbot
Disallow: /downloads/

That should be enough to keep it out of that folder. Here’s another example.

User-agent: *
Disallow: /cgi-bin/
Disallow: /images/

You can get more complicated than this if you need to.
Here’s a link to googles robots.txt file

To exclude a specific file from being indexed, you might try the following meta tag in your document.
you can also use index and follow to fine tune what you want to restrict or allow.

I’m not certain that the respecting of a meta tag is widely held. robots.txt is more likely to be followed.

To just exclude the googlebot, you might try this…

according to Googles page on removing pages from the index

Google apparently will respect that tag and that would allow other bots through.

Related Posts

Blog Traffic Exchange Related Posts
  • Another Debian server security breach According to this story, there has been another compromise of a debian project server. (Is this the third in the last year?)... the Alioth webserver was offline most of the 5th of September... It was simply stopped because we discovered that some script kiddies were running an IRC proxy. After......
  • Google Analytics under the microscope I've spent some time this evening looking at Google Analytics. (Now the data is being collected.) And I've got to say I'm impressed with the scope of what I'm seeing. First, since last night, more stats have been collected, there seem to be some missing from today yet (maybe ~12......
  • Search engines to blame for malware spread? There are a couple news stories about a McAfee SiteAdvisor report about the search engines responsibility for sites that distribute malware. McAfee said Friday that the epidemic of spyware and viruses could be linked to search engines. According to research from the company, even seemingly benign search terms could bring......
Blog Traffic Exchange Related Websites
  • What Is Seo: Myth Or Reality? Some Thoughts On Search Engine Optimization What is SEO? Have you ever though about what you are trying to achieve with search engine optimization, and what you were doing with your website to achieve it? Have you never wondered if there were better ways to get to where you want to be as a result of......
  • Select A Search Engine Optimization Company Tips A Search Engine Optimization Company is definitely an invaluable asset with your Online marketing campaign. They specialize in knowing how to improve your search engine positions,monitoring those positions on the regular basis, and adjusting their approaches to account for undesirable results in any given month. Because this requires a great......
  • Powerful SEO Procedures To generally be successful in SEO link building, here are a few strategies that can be done. The process could be distinct but the result will be excellent. You can apply one of these techniques and acquire wonderful result after some time. Or you can look for the best......
www.pdf24.org    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site