WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When doing a recent Google search we noticed that some of our images are being cached by Google but the link that is attached to them is the actual media library link. So when you click on that link, it shows a really "ugly" page because this page is not really published and is the template.

Is there any way to make images that we upload to our Media Library unsearchable or keep them out of being cached by Google?

share|improve this question
Can you post a sample link thats being indexed? – MZAweb May 13 '11 at 19:58

You could noindex, nofollow your \wp-content\uploads\ directory?

share|improve this answer
How would I add this to that one folder? Sorry just confused -and thank you for the help! – user5351 May 16 '11 at 19:33
By adding a robots.txt file to that directory? – Chip Bennett May 16 '11 at 20:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.