Solved

Robots.txt Image Exclusion

Posted on 2011-02-25
2
385 Views
Last Modified: 2013-11-19
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
Comment
Question by:zimstar
2 Comments
 
LVL 28

Accepted Solution

by:
strickdd earned 250 total points
ID: 34982191
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
 
LVL 1

Author Comment

by:zimstar
ID: 34982336
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

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Read about why website design really matters in today's demanding market.
Read about the 3 stages of the buyer's journey: awareness, consideration, and decision.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now