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?

  • Can you post a sample link thats being indexed?
    – MZAweb
    May 13, 2011 at 19:58

1 Answer 1


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

  • How would I add this to that one folder? Sorry just confused -and thank you for the help!
    – user5351
    May 16, 2011 at 19:33
  • By adding a robots.txt file to that directory? May 16, 2011 at 20:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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