When you buy through links on our site we may earn. Learn more.

AIO SEO XML Sitemap Blank Page Issue

AIO SEO XML Sitemap Blank Page Issue

Getting a blank page when using aio seo xml sitemap? I was a while back, this is what I did to resolve. Hope you find this information useful.

I am using the xml sitemap option inside of the WordPress aio seo plugin. This was working a few months ago, earlier today for me it was not working and needed to be looked at as a matter of urgency.

Basically when I would request my sitemap xml page to show, all I would get today was a blank screen.

Sometimes the recommendation when a WordPress plugin no longer works is to check by back tracking any recent changes and try to determine exactly which update or which component caused it to no longer work.

Also to do an amount of google research with the hope that someone says ‘hey, try this’ and see does that suggestion resolve the issue for you. I am hoping that my ‘hey, try this and this and this’ approach works for you.

Let’s start.

Playing well together

WordPress itself had a number of updates over the last few months and it may have been one of them which caused this to no longer work.

Quite often when there is a WordPress update, a number of WordPress plugins need to be updated so that they continue to ‘play well together’.


Disable WordPress plugins and re-enable one by one to see which one causes the issue

I use a number of WordPress plugins and WordPress, all of which were on the latest version at the time. And still I had an issue.

With all the WordPress plugins disabled, when I went to the applicable sitemap.xml page, it of course, reverted to the page not found error. With the applicable plugin disabled, it could not find the page, so that was completely correct.

Re-enable the aio seo plugin along with xml sitemap

I then re-enabled the aio seo plugin along with xml sitemap. I then took the option inside my WordPress dashboard to “update settings” and for it to display the xml sitemap.

In my case, the result was the blank page. So issue not fixed for me, but it may be for you. 🙂 🙂


Disable dynamically generate sitemap

Some Google research suggested to take the option to disable the “dynamically generate sitemap” function. This worked, in that it generated the sitemap xml file, however it is not dynamic.

I looked at this setting on another of my websites where this was working, and this setting was not disabled.

Getting somewhere, however not where I wanted to be, yet.

Compare stuff against another website where this function is working

Luckily I have another website where a lot of my setup is similar. I tend to use the same WordPress plugins and the xml sitemap for that website was being displayed correctly.

One of the differences between the two websites was the release of WordPress that they are on. So I updated this one to the latest and greatest, closed all my browser sessions, and opened up a new one to see did the xml sitemap display. It did.

So it did not appear to be the release of WordPress itself that was causing this for me.

To be honest I would have been very surprised had this been the issue. However it is possible and so had to be checked.

What about permalinks settings?

Some Google research suggested that the permalinks setting should be set to the custom structure of “/%postname%/”. Well it was set to the post name setting of “/sample-post/”.

I would change this and click update. But it would not take. I would “do the update” and then go back in again to confirm that it took.

In each case, it did not take. I never found out why as I simply continued on with other ideas.

What about the site’s htaccess file?

More Google research suggested that I had to change some code/settings. They were very vague. I thought that they meant the site’s htaccess file.

I compared the underlying code for both htaccess files and it was the same in both cases.

There also was no reference to the suggested code/setting in both of them, so it was not that.

Now they may have meant me to look at something else. It was a shame that they did not say exactly what they meant.

What about the WordPress theme?

what some WordPress themes look like

Then I had an idea. I noticed that I was using a different WordPress theme, so I decided to use the same WordPress theme and that fixed it.

Ah, happy days.

When I changed the website where this was not working to use the same WordPress theme as my other website, I could generate my sitemap xml file with no issues. Ah, happy days.



For this sort of thing, I think that some sort of checklist is useful. I hope that the above information helps you out and helps you to sort out the issue in your case.

If you are experiencing something similar and the suggestions above do not help, I am not in a position to help you out. I am offering what worked for me, in the hope that it works for you, if you have a similar experience. I included a few of the things that I tried, which didn’t resolve the issue for me, in case one or more of them help you out.

Sometimes with these types of things, just having a few different things to try out can help greatly in resolving the issue.

If you experienced something similar and your solution was different, if you could leave your experience and solution below as a comment, that may help other people in the future that would be great.

If you found my solution or one of the solutions if any offered in my comments area below helped you out, please be sure to leave a comment to say that it helped you.

I earn commissions if you click below and make any qualifying purchases at no additional cost to you
Join 3,000,000+ Professionals who use the AIOSEO WordPress Plugin to Improve Their Website Search Rankings
Meet David Who Runs This Website
Article by:
David from WorkFromHomeNotes.com
Hi, I'm David, the guy behind Work From Home Notes.

I work from home. I've written guides, reviews, tips and notes that help people work from home. I include my experiences of my work from home journey.

14 thoughts on “AIO SEO XML Sitemap Blank Page Issue”

  1. You my friend are a star!!!!
    I have been struggling with the xml sitemap…and then giving up…hoping that somehow by magic Google was getting the information.

    I’ve gone through your checklist and ended up at exactly the same point…reinstall a theme that works…or change the SEO plug in.

    I found that SEO all in one doesn’t play nicely with loads of themes…go to Yoast and all was sweet…
    however…if i reinstalled optimizepress then all in one worked again….

    You are a gem!!! Thank you

    • Hi HolisticJB,

      Interesting that you found that All In One SEO does not play nicely with loads of themes.

      I have used a number of different WP themes now, and some of them did not have all the functionally that I expected to be there. With at least one of them, I had to go into the underlying php code and insert some php code so that it would include the ‘standard comment functionally on pages’. They had it correctly on posts, but not on pages.



  2. Hi David, thanks for all the information. I had no idea that themes can cause problems too. I just assumed they should work well with everything. I will bookmark your page so I can come back to if in the future my all-in-one SEO stops working.
    BTW, I am using the same theme as you do. Do you mind telling me how you added the social media ‘like/share’ buttons on your post?
    Thanks, Sue.

    • Hello Sue,

      Thank you for dropping by and leaving a comment. Yes, I was not impressed when I traced the root cause at the time back to the WordPress Theme I was using at the time. I lost quite a bit of time. I decided to write an article with the primary objective of saving people time, should they experience something similar. It was something that I did not think of checking for quite some time.

      In connection with your question, it is actually quite easy to implement the ‘like/share’ buttons, you do the following assuming that the website in question is based on the very popular WordPress platform:

      1. Log into your WordPress Dashboard using WordPress Administrator authority.

      2. Select WordPress PlugIns from the list on the left hand side.

      3. Click New. In the search box, enter ‘Tweek, like, Google +1 and Share’ and press Enter.

      4. Select the ‘ Tweek, like, Google +1 and Share’ entry and click on the ‘Install Now’ button.

      Once installed, click on ‘activate’.

      Kind Regards,


  3. I remembered this had happened to me before. I had to uninstall the plugin or deactivated it and then I also deleted that plugin. After that I just found another plugin that offered they same services and from there everything worked out fine. This could be a huge problem I believe especially if you are trying to be ranked in the search engines. Great review I think this is going to be useful to a lot of people because they may not even be aware in the first place.

    • Hi Brandon,

      I hear you. These type of things usually happen at the most inconvenient times, don’t they? You build up your website, and check things as you go along, expecting that Word Press and Word Press plugins and your great content will just continue to be presented to your website visitors without any hitches. Then all of a sudden you become aware of an hitch that you just expected not to occur. That is life for you.

      I wrote this article because I just expected this to work. One time it was not and I invested time and effort to resolve it for me. Then I wrote the article in case other people would find my experience outlined in the article above useful.

      Kind Regards,


  4. Hi David
    Thanks for sharing all this information. I also use All in One SEO on my website. I haven’t had any problems before but I can certainly see that I might one day!
    Now I know exactly what to do when there is an update so I will be bookmarking your post just in case I need it.
    I really enjoy this post because I am not very technically minded so when something goes wrong I honestly get so frustrated.

    • Hi Lynne,

      It is great that All In One SEO is working on your website. As mentioned in my article, in this instance, it was the Word Press Theme that I was using at the time that was the root cause. I also mentioned a few other possible reasons in my article, as those reasons are also fairly reasonable to be root causes if you should ever experience this blank page when using All In One SEO XML Sitemap. I hope you never do, but if you do, at least you know have a few ideas to try out and hopefully one of them will resolve it for you should this ever happen to you.

      Kind Regards,


  5. This is an interesting read. I too have found that I have issues with the All In One sitemap. I recently found a post that said to deactivate the associated plugin. The option was to install the Simple WP Sitemap plugin. I have since done this and will see if this makes a difference.

    I would appreciate what you think of this approach. I look forward to hearing your response.

    • Hello Owain,

      In my case, I traced the problem back to the Word Press Theme I was using. When I opted to use a different Word Press Theme the issue was fixed for me. The main reason why I opted to keep the All In One Sitemap functionally is because this Word Press Plugin contains a number of different functions, which would mean that I would have to install, test and implement about 4 or 5 different other Word Press Plugins. I prefer to use one Word Press Plugin rather than 4 or 5 different other Word Press Plugins because I want to keep the number of Word Press Plugins as low as possible. Also there would be no guarantees that the 4 or 5 other Word Press Plugins would ‘play well together’.

      I am not familiar with the Simple WP Sitemap plugin so I have no idea if your approach would work for you. You would be able to determine if your approach works or not. If you are removing the All In One Word Press plugin, what are you doing about SEO? You may have to install about Word Press Plugin to implement your SEO.

      Kind Regards,


  6. Thanks for the tip. Playing around with settings and themes worked for me, too.

    • Hi Derek,

      Thanks for letting me know this. Always good to know that this information helped other people. 🙂

      Thanks again,

  7. I have this issue blank page on sitemap.xml I do separated sitemap as below 2 of them are not working other working fine I search on the internet found your post so I didn’t change any things thank you for tips it save me lot of time

    directly I look at the code and found 5 images caption is with mark & I delete that & then write and not & and now working very good
    I think that mark & can’t read by php or something but it solved

    thanks again


    • Hi there, thrilled to hear that my post helped you. If you changed code, remember that you may have to re-apply those coding changes if you apply any applicable updates in the future. Cheers.


Leave a Comment