WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Images not indexed in sitemap (26 posts)

  1. royranjan
    Member
    Posted 2 years ago #

    All of a sudden none of my images are being indexed in my post-sitemap.xml. Seems to have occurred after updating WordPress SEO to version 1.0.3. Please advise. Link to the sitemap that is having this problem is:

    http://www.rmrmedia.com/blog/post-sitemap.xml

    Thanks, Ranjan

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. Tesur Rajan
    Member
    Posted 2 years ago #

    Me too having the same problem....If anyone have a solution please submit a it here.

  3. dajuan
    Member
    Posted 2 years ago #

    I noticed this too this morning, first time I've looked since upgrading.

  4. Alex Rabe
    Member
    Posted 2 years ago #

    Yoast forgot to remove the check

    if ( $images_in_sitemap )

    in the class-sitemaps.php. Probably he will update that soon...

  5. royranjan
    Member
    Posted 2 years ago #

    Thanks Alex. Tried but could not figure out how to remove the check and get it to work. Hopefully Yoast will update soon.

  6. Ervald
    Member
    Posted 2 years ago #

    Line 267

    class-sitemaps.php

  7. The Major
    Member
    Posted 2 years ago #

    In mine the first instance of "if ( $images_in_sitemap )" does not appear on 267. There are four instances in class-sitemaps.php, which one am I trying to change and what exactly am I changing? I have a basic knowledge of php.

  8. royranjan
    Member
    Posted 2 years ago #

    I got it to work, but truthfully my php knowledge is also very basic at best. Thanks to Alex's comment I went in and removed the "if ( $images_in_sitemap ) {" on line 312 and then removed the closing bracket on line 343. Then removed "if ( $images_in_sitemap )" on line 362, and that was it. My line numbers are from looking at the code in Dreamweaver. Again, I am sure Yoast will update soon...

  9. The Major
    Member
    Posted 2 years ago #

    Great, thank you, I'll give it a try.

  10. ybeler
    Member
    Posted 2 years ago #

    I've change the code, according to your description

    unfortunately i see no change in the sitemap. how long it takes for the correct view in the sitemap?

    Sitemap: http://www.activetraveller.ch/page-sitemap.xml

  11. royranjan
    Member
    Posted 2 years ago #

    I re saved my XML siteMap settings under the SEO control panel, and the images showed up immediately.

  12. ybeler
    Member
    Posted 2 years ago #

    oh sorry I've made ​​a mistake. Its work, but not for all pages.

    on this page (http://www.activetraveller.ch/usa-canada-2010/fotos/) I have a lot of pictures. In the Sitemap they will not appear :(

  13. The Major
    Member
    Posted 2 years ago #

    I duplicated the fix listed by royranjan, unfortunately, only two of hundreds of images have indexed. Can anyone tell what is wrong by looking at my site http://www.autovoce.com or can someone post a copy of the correct code for class-sitemaps.php? I can't imagine I edited it incorrectly but you never know.

  14. The Major
    Member
    Posted 2 years ago #

    Ok, I'm not sure what I did, but it appears to have fixed the issue (maybe it just needed more time). Unfortunately, I appear to have discovered a new issue, I may need to make a new thread for it, but I will try here first.

    Galleries posted as slideshows are not indexed by Google. To have the images indexed I have to set each individually in to a post.

    Individual, indexed: http://www.autovoce.com/2011/10/two-red-ferrari-enzos/

    Slideshow, not indexed: http://www.autovoce.com/2011/08/orange-porsche-911-gt3-rs/

    Is there a way to fix this?

  15. royranjan
    Member
    Posted 2 years ago #

    I noticed this too. Would appreciate if anyone had a solution or an explanation...

  16. Neustop Designs
    Member
    Posted 2 years ago #

    I'm also experiencing this issue on this site: http://www.bgawning.com

  17. CitLemBiK
    Member
    Posted 2 years ago #

    Where is yoast?
    When he this problems fixed???

    My problems is :

    Imagecount : 0 (on sitemap?)
    ngg_tag page : 404 (Break page)

    Yoast please fix it on next version...

    Thx..

  18. gooma2
    Member
    Posted 2 years ago #

    I'm noticing that on the sitemap itself it lists the number of images per article but on Google Webmaster Tools, even if you have 4 images on a single post, it's only counted as 1 image for some reason.

    I'm also using A1 Sitemap Generator for my image sitemap since the WordPress SEO was killing my images in Google images. I'm sure there'll be a fix for this one. I'd suggest creating your own site images in the meantime so you can get all of them indexed.

  19. byheartbooks
    Member
    Posted 2 years ago #

    I appear to be having the same issue. When I look at my sitemaps that have been submitted to Google et al., very few images are captured.

    http://byheartbooks.com/product-sitemap.xml

    And yet for each product, I generally have 3-4 images, and I'm very diligent about filling in the title and the alt text every time I attach a photo or add one to the media library. I am using the SEO plugin from Yoast in conjunction with Sommerce theme. Am I missing something? Why would the images only be captured sporadically in the product sitemap?

    I read the above thread, but I couldn't quite follow if someone has actually resolved this issue. Any suggestions would be welcomed - thanks so much.

  20. Tesur Rajan
    Member
    Posted 2 years ago #

    Try to re-install the plugin and if that didn't work install the latest version.

  21. byheartbooks
    Member
    Posted 2 years ago #

    Thanks, tesurrajan. I am on version 1.1.5 already.

    If I reinstall the plugin, will I lose all the work I've done with it to date? (i.e. all the meta descriptions, focus keywords, etc.?)

  22. Tesur Rajan
    Member
    Posted 2 years ago #

    @byheartbooks Your sitemap_index.xml shows 9 sitemap that means you have done some modification with WordPress SEO plugin.

    If YES - Please check them again.

  23. dryfly
    Member
    Posted 2 years ago #

    My sitemaps count images inserted in Posts, but not when they are set as a Featured Image. Because my clients and I use the Featured Images on all posts, the counts are therefore all zero.

  24. Tesur Rajan
    Member
    Posted 2 years ago #

    @dryfly You can set Featured images but if you want sitemap to count images then you will have to add them in your posts as well.

  25. Johanhorak
    Member
    Posted 2 years ago #

    I have lots of images within my posts and apart but my Yoast Site Map only submitted 2 images according to Google Webmaster Tools. Odd ;-(

    http://capeholidays.info/

  26. ecabral
    Member
    Posted 1 year ago #

    Can anyone help here?

    http://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-zero-images-added-to-ngg-tag-sitemap?replies=3

    Don't know any more what to do. Not only images are not getting added to http://www.antoniocabral.com.pt/ngg_tag-sitemap.xml, but also lots of empty pages such as http://www.antoniocabral.com.pt/ngg_tag/antologia-dos-poemas-durienses/ are getting generated.

    Have tried to set up 302 redirects for pages within /ngg_tag/, but this is not working...

    This is really bad SEO for all standards. Any help would be greatly appreciated.

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic