Yoast SEO not creating XML sitemap


I am trying to setup a sitemap with Yoast but it is coming up with a blank page. On checking the server, I can see no sitemap is being created. I have followed all the suggestions from Yoast and have had siteground support checking that there are no server issues with the site.

I used troubleshooting mode in the healthcheck plugin to turn all plugins off and uses the default theme. I have also tried using other sitemap plugins with the same outcome.

Hey Ben,

Regretfully, this is a currently known issue which does not have a solution yet. Please stay tuned for updates and check our Changelog for the fixes and latest additions.

We’re sorry for the inconvenience.

Ok I should have checked here first before spending several hours trying to solve it.

Is there an alternative way of creating a live site map with X?

Hi Ben,

I have tried to login to your FTP account to check your issue further, but I couldn’t (see secure note below).

In the meantime, try using an alternative plugin and see if that helps to generate your sitemap (https://wordpress.org/plugins/google-sitemap-generator/).



I have tried this plugin too and it has the same issue. No sitemap is actually created.

1 Like

Hello Ben,

Thanks for updating in. Regretfully the ftp details is not working. It seems that the password is incorrect.

Meanwhile, please check out this links that may solve the blank xml file

Hope this helps.

Hi I have already gone through all the procedures listed on both links with no luck. Your colleague, Christian, seemed to suggest this was a known error with X.

Hi @Tailoredfit,

It’s from serverside issue. I recommend you to contact your hosting provider to check all the permission of your directories.


Also make sure mod_rewrite is setup correctly:


Let us know how it goes!


I have already spoken to the hosting provider and they have also double checked that all permissions and directories are correctly set.

I think mod_rewrite is set up correctly. htaccess reads as follows:

BEGIN WordPress

RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]

END WordPress

AddHandler application/x-httpd-php71 .php .php5 .php4 .php3

Hi Ben,

In this case, you should contact Yoast SEO support/3rd party developers to help you with this since this issue is not related to the X/Pro theme.

Thanks for understanding!

But it’s not just yoast sitemap that doesn’t work. It is any sitemap plugin.

Hey Ben,

I’m very sorry for the confusion here. I was previously looking at a different issue where images in Cornerstone aren’t detected in Yoast Sitemap.

I didn’t realize that the problem here is the generation of the sitemap. That does not happen in my test sites and I’ve also tested switching to the 2019 theme in your site and still Yoast was not able to generate the sitemap.

Please try:

  1. Switch to the 2019 theme
  2. Deactivate all plugins (including Cornerstone) except Yoast SEO
  3. Create new posts and pages using the default WP editor.
  4. Check Yoast’s sitemap

If the sitemap still doesn’t show or generated after that then there’s surely a problem with your server and/or WordPress setup. We couldn’t investigate that.

If the sitemap is generated, switch to X and activate Cornerstone and check the sitemap again.


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.