Support » Plugin: Yoast SEO » [Plugin: WordPress SEO] ERROR: sitemap is not a valid feed template.

Viewing 15 replies - 1 through 15 (of 25 total)
  • Plugin Author Joost de Valk

    (@joostdevalk)

    That’s weird, could you add your domain URL so I can check it out?

    Same issue here.

    I will leave the “ERROR: sitemap is not a valid feed template.” live so you can take a look at it.

    gnom [dot] es / sitemap.xml

    Thanks.
    James

    Plugin Author Joost de Valk

    (@joostdevalk)

    Hmm ok that’s weird. However, version 0.4, due later this week I think, has a complete new way of handling XML Sitemaps, once that’s out please re-test.

    Hi Joost, how is the new version coming along? Have the same problem here. Admin shows the sitemap is creating successfully, but when browsing to http://jelmerdejong.com/sitemap.xml I get an error message:

    “ERROR: sitemap is not a valid feed template.”

    You may be able to fix this by the following:

    1. Deactivate and delete any installed XML sitemap-building plugin (other than the Yoast plugin).

    2. Deactivate the Yoast plugin.

    3. Delete existing XML sitemap files, both normal and GZIPed.

    4. Reactivate the Yoast plugin.

    5. Use the Yoast plugin to create the XML sitemap.

    The sitemap should now create normally and the error should go away.

    I initially had this same problem because the Google XML sitemaps plugin was installed. Even deactivating it did not work. Following the procedure above corrected the problem.

    Thanks for your reply edelen, unfortunatelly it did not help me. I use a clean WP install and the Yoast plugin is the only SEO / XML builder. Also after deactivating and reactivating and than rebuilding http://jelmerdejong.com/sitemap.xml/ still shows the error.

    Maybe there is something wrong with the redirect (trailing / ?)

    My sitemap has no trailing slash. I don’t have the forced trailing slash enabled in the plugin because all my pages end in .html.

    Always delete the old sitemap files, too, before you attempt a rebuild.

    Also, did you rebuild your permalinks? All you need to do there is just resave your existing config.

    I don’t have forced trailing slash enabled as well, but somehow there is a redirect from http://jelmerdejong.com/sitemap.xml.gz to http://jelmerdejong.com/sitemap.xml.gz/ and same for the .xml

    Also did the rebuild permalinks – no success so far.

    Any other ideas? I can’t find the sitemap.xml in the root dir, where should I look? Think there is some redirect mistake or file don’t actually create itself.

    Yes, you need to create a blank file with that name (and also .gz) and add them, both writable through CHMOD settings, to the same directory that contains the guts of your WordPress installation.

    It gets even stranger. I created the files myself and made them writeable using CHMOD. But after rebuilding, they get delete (I assume by the plugin) and not newly created..

    Plugin Author Joost de Valk

    (@joostdevalk)

    This has changed with 0.4, the complete functionality no longer uses static files so all these bugs are gone 🙂

    0.4 and also after upgrading to 0.4.1 which generates the sitemap_index.xml still the same error. Also after completely deleting the plugin and reinstalling. Maybe its my hosting or another setting.

    Plugin Author Joost de Valk

    (@joostdevalk)

    Are you running W3TC with this feature on?

    “Skip 404 error handling by WordPress for static files”

    If so, go into your htaccess, find this line:

    # BEGIN W3TC Skip 404 error handling by WordPress for static files

    and below that, remove xml from the list of file extensions.

    I have the cache 404 pages checked indeed (using W3TC), only don’t have the mentioned line in my htaccess.

    Plugin Author Joost de Valk

    (@joostdevalk)

    No the other one, this one is in the browser cache settings.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘[Plugin: WordPress SEO] ERROR: sitemap is not a valid feed template.’ is closed to new replies.