Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Getting A Blank Page When Using All In One SEO Xml Sitemap?

Getting A Blank Page When Using All In One SEO Xml Sitemap?

Free Starter Membership at Wealthy AffiliateI am using the XML Sitemap option inside of the WordPress “All In One SEO” plug in. 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 a back track 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.

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 All In One SEO plugin along with XML Sitemap

I then re-enabled the All In One 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. The result was the blank page.

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 website 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 similiar. 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.

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.

What about the site’s htaccess file?

More google research suggested that I had to change some code/settings. They were a bit vague, and I thought that they meant the site’s htaccess file. Anyway I retrieved the code for both of the websites using my favourite ftp tool – filezilla. I prefer using a tool rather than using actual computer commands when using ftp. The code for both was the same. 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.

What about the WordPress Theme?

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.

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, incase 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.

14 thoughts on “Getting A Blank Page When Using All In One SEO Xml Sitemap?”

  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.

      Cheers,

      David

  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’.

      You can see a video presentation here:

      Kind Regards,

      David

  3. I remembered this had happened to me before. I had to uninstall the plugin or deactivated it and then I also deleted. 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,

      David

  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,

      David

  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,

      David

  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,
      David

  7. I have this issue blank page on sitemap.xml I do separated sitemap as below 2 of them are not workin 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 imags caption is with mark & I delete that & then write and not & and now working very good
    I thing that mark & can’t read by php or something but it solved

    thanks again

    /sitemap_addl.xml
    sitemap_post.xml
    sitemap_page.xml
    sitemap_attachment_1.xml
    sitemap_attachment_2.xml
    sitemap_category.xml
    /sitemap_post_tag.xml

    • 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

By using this form you agree with the storage and handling of your data by this website.

By continuing to use this site, you agree to the use of cookies. More Information.

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close