Mobile app version of vmapp.org
Login or Join
Jessie594

: How can I prevent a search engine from indexing a specific file or files on my website? Possible Duplicate: Blocking Search Engines to Crawl Parts of a Website? In general, I want

@Jessie594

Posted in: #Indexing #Search #SearchEngines

Possible Duplicate:
Blocking Search Engines to Crawl Parts of a Website?




In general, I want my site to be indexed, but there are certain files I don't wish to be searchable from Google, Yahoo, etc...

I know you can block your site from being indexed using a robots file, but what if I only want certain files to not be indexed?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Jessie594

1 Comments

Sorted by latest first Latest Oldest Best

 

@Vandalay111

For this you can use robots.txt too. Then you would write several disallow statements. Here are some examples:

Disallow: /tmp
Disallow: /logs


For more information see the specification of the robots file.

But be aware that not every spider respects this file. So maybe you need other methods like e.g. the nofollow meta tag if you really want to be sure.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme