Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Last week I moved all the images on coffeeandvanilla.com to a cdn( maxcdn.coffeeandvanilla.com ).

The problem I'm having is that although the sitemap—generated by Yoast WordPress SEO plugin—points images to the correct location, Google only indexes[sic] images from the category and page site maps but 0 images from the posts sitemap( see screenshot https://dl.dropbox.com/u/4635252/sitemap.png )

This website has been doing quite well with Google image-search before the change, visits from Google image search have dropped from ~200/day to 11 yesterday

Here is an example entry from the generated posts.xml sitemap http://pastebin.com/vcMRf9VW

Can anyone suggest where the problem lies? Why have I lost all my google image juice? Should I just wait some more, how long before really worrying?

share|improve this question
    
did you get this issue resolved? as I am in a position of 3000ish images submitted indexed 0 after doing exactly the same as you –  user24044 Mar 9 '13 at 18:07
add comment

1 Answer 1

up vote 1 down vote accepted

Have you tried updating Yoast? It did have a rather nasty image sitemap bug:

1.2.8 Bug fixes: Fix for images not showing up in XML sitemap1.

EDIT: Final answer

I suspected that may be the case. I can't take any credit for this, but please find someone with the same problem and the resultant solution from the Yoast plugin creator:

function wpseo_cdn_filter( $uri ) { return str_replace( 'http://example.com', 'http://cdn.example.com', $uri ); } add_filter( 'wpseo_xml_sitemap_img_src', 'wpseo_cdn_filter' );

CDN Images in Sitemap

share|improve this answer
    
I'm using 1.2.8.7 The images show up in the sitemap correctly. The strange thing is that only images on the wordpress posts are failing to index, whilst others are fine. –  dfunkydog Nov 21 '12 at 13:26
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.