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
/
Unlimited PHP Sitemap Generator
/
Unsupported file format
Tools for Any SEO Challenge:
Get more traffic to your website with versatile solutions for every step of your SEO journey.
« previous
next »
Pages:
1
admin75
3
Unsupported file format
«
on:
March 23, 2007, 10:45:28 AM »
Getting the above on a number of sites, and have read other threads and repeated the submission multiple times, and I am still getting the same message.
Now stuck and need to move on.
Logged
admin75
3
Re: Unsupported file format
«
Reply #1 on:
March 23, 2007, 11:50:28 AM »
I vaguely remembered some issue before with another script generator that caused a similar problem, so I created a php file with any name you like and gave that to google. It sends a header and reads the xml file. This has validated after repeated attempts with a straight generated xml file. I am not saying that it will solve the problem totally until I have tested it a few times.
Code:
[Select]
<?phpHeader
(
"Content-Type: application/xml"
);@
readfile
(
"sitemap.xml"
);
?>
Logged
admin75
3
Re: Unsupported file format
«
Reply #2 on:
March 23, 2007, 12:54:29 PM »
OK, well that worked. Very strange, because three sites needed this bit of code, two parsed perfectly OK straight to sitemap.xml, and they are all on the same server...
Logged
XML-Sitemaps Support
11781
Re: Unsupported file format
«
Reply #3 on:
March 23, 2007, 10:10:53 PM »
Hello,
thank you for the follow-up.
It looks like your host is not configured for XML mime type and doesn't include corresponding type in response http headers, so it is not recognized, unless you specify it directly in the script.
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 »