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.
Read this post on website theme and user experience to learn more about website design that can help you develop your business. Furthermore, know about the importance of ux/ui consultants in web design.
I spend most of my time around WordPress and related plugins. It is almost impossible to resist myself from sharing good tips, tutorials and updates related to the platform. After all, I am a blogger by passion.