Solved – Yoast and Google XML Sitemap Blank Page Error in WordPress

By | May 17, 2014

We all know the importance of a sitemap in SEO field as it is one of the ways to tell Google and other search engines about the content of your site. Google indexes site links faster if a proper sitemap is submitted through Google Webmaster Tool. Yoast WordPress SEO and Google XML Sitemap plugins are the most popular sitemap generators for a WordPress site. But sometimes you may see a blank page appearing after you try to open the generated sitemap XML link. On Firefox browser, it shows the error as “Error loading stylesheet: An unknown error has occurred”. The XML Sitemap blank page error is very frustrating and that’s why we need to fix the same in priority.


Here are the possible solutions for this error,

1. Using CDN – If you are using any CDN service to load the static content on your site, that may cause this problem. You need to exclude the string .xsl from being rewritten. For example, if you are using WP Super Cache to include the CDN URL, mention .xsl in the field “Exclude if substring” beside the .php value (comma separated) and save the changes. Clear the browser as well as server’s cache and see if it helps.

2. Change the folder permission to 777 for the folder ‘google-sitemap-generator’ available under wp-content/plugins folder.

Share your thoughts if the above suggested tip helped you in getting the sitemap XML generated properly.

Related Post