globalkris
Member
Posted 9 months ago #
Hi,
The generator states that the sitemap was built, and everything seems to be fine in the options page, but when i actually click on the link to where the sitemap should be, I see this:
Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:
I have no idea why this is there or what to do about it. I'm using XML-Sitemap Generator for Wordpress 3.0.3
Thanks.
globalkris
Member
Posted 9 months ago #
globalkris
Member
Posted 9 months ago #
mrsdiva
Member
Posted 8 months ago #
The sitemap.xls file doesn't declare a stylesheet. To make it work I did the following:
Substitute the following in the sitemap.xls file in the 1st line:
FROM:
<?xml version="1.0" encoding="UTF-8" ?>
TO:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform">
This solved the problem for me.
Check it out here:
Divas Blog
http://www.divas-blog.com/sitemap.xml
Found the answer to problem here:
http://www.theerrormessage.com/2007/06/08/an-xslt-stylesheet-does-not-have-an-xml-mimetype/
I have been having a problem like this as well. Here is what I did to get mine working in FF and IE
I changed this <?xml version="1.0" encoding="UTF-8"?> to this `<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="product-list.xslt"?>`
in the sitemap.xml file. THEN... I added this AddType application/xml .xsl to my .htaccess and now everything seems to be working fine for me. So some people might want to give this a try and see if it works.
BioTecK
Member
Posted 6 months ago #
Great! Your tip works for me too npen!! :D
Thnx a lot!! :D