• Sorry about this but I am going to resubmit the question with the proper heading and hope I can get the info I am after.

    I am using Yoast SEO and no matter what I do I can’t seem to get images off of the sitemap, GWT is saying 5 submitted. Can someone tell me where I am going wrong or lead me on the right path as I don’t want them indexed.

    So what I finished up doing is this:

    In Yoast I went to each individual image and under advanced I made it noindex, from what I have read this should do the trick.

    Under Youast SEO > Advanced > Permalinks there is:

    Redirect attachment URL’s to parent post URL.

    Should I make this redirect as well? also once I have made the changes should I resubmit my sitemap or does Yoast do that straight away?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter wplearner01

    (@wplearner01)

    Anyone with some advice?

    I was wondering about the same thing. After reading about Yoast WordPress SEO, I got images removed from the sitemap by checking Not in Sitemap for Media (attachment) option under Sitemap XML > Post Types tab.

    I think the option Redirect attachment URL’s to parent post URL does not really prevent images from being crawled/indexed. As long as WordPress treat the media attachment post type like real posts, that seems to be a way to prevent the media attachment posts from being accessed/indexed, thus redirecting to the posts that have that specific image attached to them.

    I also wanted to make sure some images on my website were not indexed by search engines, and I was drawn to this: https://support.google.com/webmasters/answer/35308?hl=en

    So under Yoast WordPress SEO settings, I went to Tools > File Editor (this allows you to edit your robots.txt file). Then I’ve followed Google instructions, and I ended up with something like the following: see screenshot.

    I believe this is the proper way to completely remove images from the search results.

    • This reply was modified 8 years, 5 months ago by Adriano Monecchi. Reason: enhanced question
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Yoast SEO] noindex images’ is closed to new replies.