• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 436
  • Last Modified:

Robots.txt Image Exclusion

When adding a robots.txt file to my website that says to exclude the img directory, will that prevent my images from showing up on google?

Or will they show up because the spiders could get them from the "non-excluded" pages that use those images?
0
zimstar
Asked:
zimstar
1 Solution
 
strickddCommented:
Yes, this will prevent bots from indexing your images. You can also prevent the image bot from indexing the images if you want. A few references below.

http://www.javascriptkit.com/howto/robots.shtml
http://www.outfront.net/tutorials_02/adv_tech/robots.htm
0
 
zimstarAuthor Commented:
I know how to create a robots file, I just want to know if robots will index images that are in an excluded directory but included/referenced within web pages that are not excluded?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now