Wednesday, March 25, 2009

XML Sitemap Generator for WordPress: Error loading stylesheet

XML Sitemap Generator for WordPress is a great WordPress plugin for generating XML sitemap. However, recent update of the plugin caused an error in viewing the XML file via Web browser.

Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:

To fix it, add

AddType application/xml .xsl

to the .htaccess file.


  1. The blackquote is not closed well. Nevermind, luckily no affect to the blog theme.

  2. Hello to all ! Great site. I am new here greetings to all from Poland.

  3. I have same problem, but not solved. please check at with www or without still error.

  4. @dhyar: Have you add <pre><code>AddType application/xml .xsl</code></pre> to the .htaccess file? You may also try to upgrade the plugin to the latest version.

  5. Can not load the forums on in Firefox. I can load them in IE, but for some reason FF does not work any longer? And I receive the following error:

    Error loading stylesheet: An unknown error has occurred (804b000e )