WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Yoast Sitemap Errors from NextGEN - Inclueds fix! (9 posts)

  1. Ocala Website Designs
    Member
    Posted 2 years ago #

    Can you guys please apply this little bit code to fix this sitemap problem?? Please.

    http://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-errors-in-sitemap/page/3?replies=68

    @ma9mwah:

    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

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. bizint
    Member
    Posted 2 years ago #

    That doesn't fix mine?!What is going on? I've 100 errors in ggo;le webmasters:

    Parent tag: image
    Tag: loc

    plugins> next gen gallery > lib > section.php ?

  3. Ocala Website Designs
    Member
    Posted 2 years ago #

    Add it to the sitemap.php in NextGen. Add it to the gallery function, as well as the add_image function.

  4. tizz
    Member
    Posted 2 years ago #

    Yesterday I opened a topic on this. Like Ocala said, now that line must be added to both functions.

  5. Ocala Website Designs
    Member
    Posted 2 years ago #

    I did go their and +1'd it or whatever, thanks for opening that ticket. Also, sometimes you have to wait for the sitemap to get re-indexed, it will say pending for quite some time in Google's Webmaster tools.

  6. Ocala Website Designs
    Member
    Posted 2 years ago #

    Although for one I tweaked yesterday, Google is now telling me there are errors, one is on line 141 and line 141 is this:
    <image:loc>http://www.ocalaheart.com/wp-content/gallery/support-images/ocala-heart-institute-logo-ocala-2.png</image:loc>

    Which is a functioning url for that image... I'll resubmit it again and see if it comes up again.

  7. bizint
    Member
    Posted 2 years ago #

    Mmmm...not so sure...when I "test" the sitemap using google webmaster it says success and no errors found (but it did that anyway). Then I deleted the sitemap...so no errors showed....then I re-added the sitemap and it instantly reported the same errors again...how can it test the sitemap and then say the errors are there? Strange. I'll go with your take Ocala....and wait ..thanks! Will post back when done.

  8. Everton Pessoa
    Member
    Posted 2 years ago #

    Rendering of template album.php failed :(

  9. tizz
    Member
    Posted 2 years ago #

    @ Everton Pessoa you're OFF TOPIC.
    For your problem, check your permissions on file or folders, but if it doesn't works, PLEASE OPEN YOUR OWN TOPIC.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.