Toggle navigation
PRO Sitemaps
Standalone Generator
About Sitemaps
News
SEO Tools
Sitemap Generator Forum
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
XML Sitemaps Discussions Category
/
Bug reporting for Standalone Sitemap Generator
/
XML site map can't find the XSL file
Keyword suggestion tool:
Pick the right keywords to target in your SEO and PPC campaigns
« previous
next »
Pages:
1
lockley
12
XML site map can't find the XSL file
«
on:
September 03, 2013, 03:28:46 AM »
The initial setup for the standalone sitemap generator .xml templates points to the sitemap.xsl link in href="%GEN_URL%generator/pages/mods/sitemap.xsl
When I try to view [ External links are visible to forum administrators only ] in the Firefox browser (I have the preferences set to open in the browser), it still gets downloaded and is then opened in the browser as
file:///Users/xxxx/Downloads/sitemap.xml and I get
Error loading stylesheet: An unknown error has occurred (805303f4)
[ External links are visible to forum administrators only ]
So I tried changing the template to use href="%GEN_URL%sitemap.xsl"
I also moved a copy of the sitemap.xsl file into my root directory but I get the same problem:
file:///Users/xxxx/Downloads/sitemap.xml
Error loading stylesheet: An unknown error has occurred (805303f4)
[ External links are visible to forum administrators only ]
How do I get this to work?
Thanks.
Logged
XML-Sitemaps Support
11780
Re: XML site map can't find the XSL file
«
Reply #1 on:
September 04, 2013, 09:11:27 PM »
Hello,
looks like your server is not configured to serve xml files correctly. You can try to upload any xml file and open it.
Your server returns http header:
Content-Type: application/x-httpd-php
That's why it's not displayed correctly in browser.
Logged
Oleg Ignatiuk
https://www.xml-sitemaps.com
Send me a Private Message
SEM and SEO Reports, more than 45M domains
: The world's leading Competitive Intelligence Tool for digital marketing.
lockley
12
Re: XML site map can't find the XSL file
«
Reply #2 on:
September 05, 2013, 09:53:08 PM »
Hi,
Thanks. In the htaccess file, I have the line
AddType application/x-httpd-php .xml .rdf
but that doesn't seem to be enough. I've written to the sys admin to see if something else needs to be done at his end.
Logged
XML-Sitemaps Support
11780
Re: XML site map can't find the XSL file
«
Reply #3 on:
September 08, 2013, 08:17:15 AM »
Hello,
that line actually causes the problem. Without it sitemap.xml woud be opened correctly (unless you need that line for something else specifically)
Logged
Oleg Ignatiuk
https://www.xml-sitemaps.com
Send me a Private Message
SEM and SEO Reports, more than 45M domains
: The world's leading Competitive Intelligence Tool for digital marketing.
Pages:
1
« previous
next »