Forums

Sitemap Error (6 posts)

  1. Hannah123
    Member
    Posted 4 years ago #

    I have installed the newest version of Google Sitemap and I get this error on the sitemap page:

    Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:
    blog/wp-content/plugins/google-sitemap-generator/sitemap.xsl

  2. Otto
    Tech Ninja
    Posted 4 years ago #

    Try adding this to your .htaccess file (first line in the file):
    AddType text/xml .xsl

    That will force Apache to serve the .xsl file with the correct MIME type, which should allow Firefox to work correctly.

  3. Hannah123
    Member
    Posted 4 years ago #

    No it still says the same thing, unless I'm supposed to wait a little while before it takes effect.

  4. Otto
    Tech Ninja
    Posted 4 years ago #

    Well, you may need to clear your browser cache and/or close and reopen the browser to see any difference.

  5. cinnie2218
    Member
    Posted 4 years ago #

    i was having the same problem and i added "AddType text/xml .xsl" to my .htaccess file and that worked for me.

    Thanks a bunch!

  6. r0mpe7ech0s
    Member
    Posted 4 years ago #

    thanks, i solved my problem

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags