All in One SEO Pack
[resolved] Sitemap now giving a 404 error code (3 posts)

  1. david
    Posted 2 years ago #

    I had /sitemap.xml URL setup fine, but I clicked "activate" in All in one SEO pack for the XML sitemap generator. It said there was a conflict in the naming structure (or something like that) and I should rename it or ignore. I chose to rename, thinking it would just overwrite and work, however, now my /sitemap.xml no longer works. My sitemap gives a 404 error code.

    I was able to figure out the old file was renamed to /sitemap.xml._000.old, which works, but again, /sitemap.xml does not work and gives me a 404 error code. I have tried deactivating the XML Sitemap in All in One SEO but that doesn't fix it.

    How do I get the /sitemap.xml file to show the correct sitemap results?

    Thanks, David.


  2. Peter Baylies
    Plugin Author

    Posted 2 years ago #


    There are two methods you can use to serve a sitemap.xml file here; one method is having it dynamically generated for you. If you choose to do this, you don't need an actual sitemap.xml file present on your server, it will be generated by WordPress when the page is accessed. If you have this set, then try going to Settings -> Permalinks to refresh your permalinks, and then see if you can browse to sitemap.xml and if a sitemap is generated. If this doesn't work, then for whatever reason the dynamic sitemap option isn't working for you - you'll want to uncheck the "Dynamically Generate Sitemap" option and click the "Update Sitemap" button in the XML Sitemap settings. This will generate a static sitemap.xml file for you on the filesystem.

  3. david
    Posted 2 years ago #


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All in One SEO Pack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.