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.

7 comments :

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

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

    ReplyDelete
  3. I have same problem, but not solved. please check at healthcarechange.org/sitemap.xml with www or without still error.

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

    ReplyDelete
  5. Can not load the forums on Scout.com 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 )http://mbd.scout.com/Themes/Theme_6.xsl

    ReplyDelete