royranjan
Member
Posted 7 months 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/
Tesur Rajn
Member
Posted 7 months ago #
Me too having the same problem....If anyone have a solution please submit a it here.
dajuan
Member
Posted 7 months ago #
I noticed this too this morning, first time I've looked since upgrading.
Yoast forgot to remove the check
if ( $images_in_sitemap )
in the class-sitemaps.php. Probably he will update that soon...
royranjan
Member
Posted 7 months ago #
Thanks Alex. Tried but could not figure out how to remove the check and get it to work. Hopefully Yoast will update soon.
Ervald
Member
Posted 7 months ago #
Line 267
class-sitemaps.php
The Major
Member
Posted 7 months 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.
royranjan
Member
Posted 7 months 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...
The Major
Member
Posted 7 months ago #
Great, thank you, I'll give it a try.
ybeler
Member
Posted 7 months 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
royranjan
Member
Posted 7 months ago #
I re saved my XML siteMap settings under the SEO control panel, and the images showed up immediately.
ybeler
Member
Posted 7 months 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 :(
The Major
Member
Posted 7 months 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.
The Major
Member
Posted 7 months 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?
royranjan
Member
Posted 7 months ago #
I noticed this too. Would appreciate if anyone had a solution or an explanation...
neustop
Member
Posted 7 months ago #
I'm also experiencing this issue on this site: http://www.bgawning.com
CitLemBiK
Member
Posted 7 months 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..
gooma2
Member
Posted 6 months 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.
byheartbooks
Member
Posted 4 months 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.
Tesur Rajn
Member
Posted 4 months ago #
Try to re-install the plugin and if that didn't work install the latest version.
byheartbooks
Member
Posted 3 months 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.?)
Tesur Rajn
Member
Posted 3 months 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.
dryfly
Member
Posted 3 months 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.
Tesur Rajn
Member
Posted 3 months 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.