WordPress.org

Forums

XML Sitemap & Google News feeds
[resolved] Completely empty page for Google News sitemap (9 posts)

  1. MBrignolo
    Member
    Posted 1 year ago #

    I am running the plugin for site http://www.olympialab.com

    It perfectly works for Google Sitemap
    http://www.olympialab.com/sitemap.xml

    while the Google News Sitemap is completely empty
    http://www.olympialab.com/sitemap-news.xml

    One additional piece of info: we are using custom permalinks /%postname%-%post_id%

    Any hints how to proceed to fix the issue?

    Thanks in advance

    Massimo

    http://wordpress.org/plugins/xml-sitemap-feed/

  2. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, it's not so much that your news sitemap is empty as it appear empty to human eyes. This is because the associated stylesheet on /wp-content/plugins/xml-sitemap-feed/includes/xsl/sitemap-news.xsl.php (which is needed to make the XML file render human readable in a browser) causes an internal server error.

    The PHP file that renders the stylesheet does not involve any complicated PHP so I'd be very curious to learn what that error is exactly.

    Do you have access to your server (or hosting account) error log files? If so, could you trigger the error by opening the stylesheet URL directly in your browser and then opening the log files to see the latest entry(s)... You can send them to me via the contact form on http://status301.net/contact-en/

    I'd be very grateful and will be looking for a solution ASAP :)

  3. gooma2
    Member
    Posted 1 year ago #

    Hi Raven,

    We're having the exact same issue. The regular Google Sitemap shows up perfectly, but the News Sitemap is showing a 404 error.

    I didn't want to just start a whole new thread since it seems like these are pretty identical issues.

    http://bestmoviesevernews.com/sitemap-news.xml

  4. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    @gooma2, your issue is different. First install and activate XML Sitemap & Google News Feed then activate the Google News Sitemap option on Settings > Reading. Then deactivate all the other sitemap plugins you are using and delete any static files they left behind in your site root.

  5. gooma2
    Member
    Posted 1 year ago #

    Sorry about that. I thought it was the same. I'm having my host check on the server to make sure there are no issues there first.

    I had everything set up as usual but for some reason the News sitemap kept throwing a 404 error while the other worked fine.

    After this step, I'll start a new thread if it still exists.

    Thanks!

  6. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    @MBrignolo - could you try the new development version? It should not suffer from breaking stylesheets any more... You can download it from http://wordpress.org/plugins/xml-sitemap-feed/developers/ under Other Versions. Please keep me informed about the results :)

  7. prezla
    Member
    Posted 1 year ago #

    And we have the same problem.

    http://srbin.info/sitemap-news.xml
    http://srbin.info/sitemap.xml

    Google Webmaster Tools reported the error 404.

  8. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Prezla, your case is different. There is a Google News sitemap on your site on http://srbin.info/?feed=sitemap-news but it is not available on /sitemap-news.xml ... Could you try resaving your permalink settings on Settings > Permalinks?

  9. prezla
    Member
    Posted 1 year ago #

    This is awesome.
    Thank you for your help.
    Now working properly. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic