Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.