WordPress.org

Forums

XML Sitemap & Google News feeds
[resolved] the sitemap get 404 error on google webmaster. (13 posts)

  1. jeffqc
    Member
    Posted 1 year ago #

    for some reason i get 404 error inside google webmaster too
    all my sistemaps are 404 in google webmaster
    http://www.tvqc.com/sitemap.xml

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

  2. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Are there any rules in your Apache VirtualHost file or .htaccess related to xml file requests? If so, remove them to let WordPress handle the requests.

    The sitemap index http://www.tvqc.com/sitemap.xml responds with a 200 OK but I notice it takes a really long time. About 40 seconds... this is not normal, certainly not for a server with Varnish running. Then subsequent sitemaps like http://www.tvqc.com/sitemap-posttype-post.2014.xml indeed give a 404 Not Found header even though the content is there. Strange.

    Even stranger is the difference between http://www.tvqc.com/sitemap-home.xml (with a 404 and content from another sitemap plugin!) and http://www.tvqc.com/?feed=sitemap-home (a 200 status and correct content) which should be the exact same sitemap.

    Are there any static .xml files in the site root? If so, please delete them all. Then go to Settings > Permalinks and re-save the settings. Also make Varnish purge its cache.

    Next, you might try disabling all other plugins to see if one of them is responsible for the 404 header. Use a tool like http://web-sniffer.net/ to test the sitemaps.

    If all that does not help, the most likely source is your server setup...

  3. jeffqc
    Member
    Posted 1 year ago #

    ok ive flush all my plugin which could potantialy interfer with stemap plugin ive refresh my permalink and now my sitemap look like «XML Sitemap source as read by search engines» split by mouth, even if i choose the by years option.

    when im trying to post one of the sitemap i get this error
    http://i.imgur.com/Ui0Ffhx.jpg

    http://i.imgur.com/bo3agkO.jpg

    Thank you for the fast reply :)

  4. jeffqc
    Member
    Posted 1 year ago #

    If it may elp thhe google news sitemap is working perfectly

  5. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    sitemap-tax_post.xml is not a sitemap made by my plugin but by another one. You cannot run two sitemap generators at the same time without conflicts.

    Please choose one of them and then follow the instructions carefully to avoid confusion.

  6. jeffqc
    Member
    Posted 1 year ago #

  7. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Looking at the source code of I notice at the bottom these lines that should not be there:

    <p id="authorsure-last-updated" class="updated" itemscope="itemscope" itemtype="http://schema.org/WebPage" itemid="http://www.tvqc.com/2014/01/shingeki-bahamut-une-adaptation-anime-pour-le-jeu-de-carte-en-ligne/">Dernière mise à jour par : <span style="float:none" class="author vcard"><span class="fn"><a rel="author" href="http://www.tvqc.com/author/jeff/" class="authorsure-author-link">Jean-François Cloutier</a></span></span> le <time itemprop="dateModified" datetime="2014-04-20T14:15:31+00:00">20 April 2014</time>.</p>

    This is not part of my plugin and I have no idea how they got there. Are you using some plugin that adds an author vcard to feeds?

  8. jeffqc
    Member
    Posted 1 year ago #

    Authorsure is a plugin for google autorship ill give it a look
    http://wordpress.org/plugins/authorsure/

  9. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    If it has an option that allows disabling these additions to feeds, please use that. Otherwise, simply disabling it should help too :)

    Please let me know the result. Wwhen disabling the plugin is the only way to solve the issue, and you would like to keep using Authorsure then you might want to consider another XML Sitemap plugin.

    In any case, thanks for the report :)

  10. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    I just got a message about Polylang 1.5 beta fixing some bugs that where introduced with the 1.4 version. It might just include your issue... Read more and download from http://polylang.wordpress.com/2014/04/21/polylang-1-5-beta/

  11. jeffqc
    Member
    Posted 1 year ago #

    ok i've disable autorsure and now it work
    in fact autorsure seem to bug all others sitemaps plugin...

    http://i.imgur.com/SGfylQW.jpg

    also if it may helo you my site is in french so i must add Native RSS plugin to get it to work
    http://wasistlos.waldemarstoffel.com/plugins-fur-wordpress/native-rss-plugin

  12. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    If your WP installation is cofigured correctly (French version from http://fr.wordpress.org/) then there should be no need for a plugin like native rss. The language tags in all feeds should be "fr-FR" by default. If that is not the case on your site, then there is something wrong...

    I notice you are using another plugin for your Google News Sitemap. Why? Is the Google News function in my plugin not working for you? Or is it a static file sitemap-news.xml in your site root that you have not deleted yet?

  13. jeffqc
    Member
    Posted 1 year ago #

    your news sitemap is ok aswell
    http://www.tvqc.com/sitemap-news.xml

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic