Apr 18

I’m having a problem with the Google XML Sitemaps plugin. When I open it with Firefox I get:

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

http://mydomain.com/sitemap.xsl

I got the answer from there. It works but output is quite ugly. I had to modify the document by adding xslt to the text/xsl/xslt.

<?xml-stylesheet type=”text/xsl/xslt” href=”http:// mydomain.com /blog/wp-content/plugins/google-sitemap-generator/sitemap.xsl”?>

Then open your .htaccess file in an editor and insert this:

AddType application/xml .xsl

That solved the problem for me.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Technorati
  • Twitter

Related Posts:

  1. Google Chrome
  2. Google Chrome Operating System
  3. Google XML Sitemaps
  4. Google Analyticator
  5. Stats Plugin by W3Counter

Leave a Reply