WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] [closed] Errors in sitemap (72 posts)

  1. stakouman
    Member
    Posted 2 years ago #

    @ma9mwah Like u said

    i've fixed mine by adding the following line

    $newimage['src'] = $image->imageURL;

    just above the line

    $this->images[$src] = $newimage;

    in the add_gallery function in the ngg sitemap.php file

    If done this, but what are the next steps.

    I am totally unskilled in coding. I aplied the line just above u said, but nothing in the goole xml sitemap for images has changed.
    Can someone help me pleace??

  2. akdwivedi
    Member
    Posted 2 years ago #

    @stakouman Once you have done this and you have Yoast SEO plugin installed,you should check the sitemap at yourdomain.com/sitemap_index.html

    Select the relevant sitemap and you will see an image column where the number of images is displayed. You can also view source and it will show the underneat XML file.

    Hope it helps.
    -Abhi

  3. stakouman
    Member
    Posted 2 years ago #

    @akdwivedi

    No id does not. Thans anyway. The truth is that now i have WordPress seo by yoast, google xml sitemap, and google xml image sitemaps activated. May there is the problem, but like i said, i am a absolute beginner with coding, and afraid to do things...

    P.s. it is ...sitemap_index.xml not html.

    But Thanks anyway

  4. tizz
    Member
    Posted 2 years ago #

    Google xml sitemap by Arne isn't incompatible with SEO Yoast sitemap (I don't know the other plugin, google xml image sitemaps, but you don't need three maps I guess).
    Try clicking save button in SEO->xml sitemaps settings and open maps in browser, and in google webmaster tool resubmit maps.

  5. akdwivedi
    Member
    Posted 2 years ago #

    @Stakouman Yes my fault, the filename is indeed sitemap_index.xml

    You can check mine how it is generated : http://www.abhi.nl/sitemap_index.xml

    As Tizz mentioned the SEO Yoast works perfect and you do not need to install any other plugin. It will help if you provide your website URL where others can have a look and give proper suggestion.

  6. TeamFDS
    Member
    Posted 1 year ago #

    Thank you very much. I can confirm that this fixed the same problem I was having. Just remember that there are two instances of $this->images[$src] = $newimage; One on line 86 and the other on line 120

  7. stakouman
    Member
    Posted 1 year ago #

    @akdwivedi and @Tizz,
    does it it means if the number of images are vissible, that the image with the "alt" ist delivered to google?

    I mean i have very nice images of my country, and befor pinguin i was ranking good. I was hooping that if the images was indexing, i would become some rankings back...

    How can i let the pictures index with a description and alt tag?

    But, thanks anyway, this is great to find so much people to share the same problem...

    And solutions as well !!!

  8. royranjan
    Member
    Posted 1 year ago #

    @ma9mwah,

    Genious! Thanks for the tip, worked like a charm!

    @Joost,

    LOVE your plugin! Thanks!

  9. Ocala Website Designs
    Member
    Posted 1 year ago #

    Unfortunately we have to do this again with the recent update ... HELLO PHOTOCRATI!!! Can you fix this so we can just update???

  10. j_schumann
    Member
    Posted 1 year ago #

    I could not find a bug report for this problem over at photocratis issue tracker so I opened one: https://bitbucket.org/photocrati/nextgen-gallery/issue/104/src-missing-in-sitemapphp

    Maybe you want to give it a "+1" so it'll be fixed soon.

    Regards, JS

  11. esvl
    Member
    Posted 1 year ago #

    I didn't notice first there were two lines to add in the file.

    Sitemap files ok at last!
    Thanks you all for this thread!!

  12. Ashish Garg
    Member
    Posted 1 year ago #

    I have same issue

    URL: /hindi-funny-comment-indian-desi-daru-ahata-bar-wine-shop/
    Parent tag: url
    Tag: loc

    238

    Jan 18, 2013
    URL: /indian-desi-sweet-cute-girls-drinking-daru-wine-smoking/
    Parent tag: url
    Tag: loc

    412

    Jan 18, 2013
    URL: /funny-photos-of-people-smoking-reality-smokers-thinking/
    Parent tag: url
    Tag: loc

    that links and images i am remove from my site but ther so how can fix that error???

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags