Free Online
Sitemap Generator
Unlimited
Sitemap Generator
About Sitemaps
Broken Links
Forum
Testimonials
Tools
Contact
Advanced search
Sitemap Generator Forum
August 30, 2008, 03:14:23 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Sitemap software 2.9 released
- Email notifications, html sitemap customizing and more
7343
Posts in
1808
Topics by
Members
Latest Member:
frans.wiggers
Sitemap Generator Forum
>
XML Sitemaps Discussions Category
>
Unlimited PHP Sitemap Generator
>
Unsupported file format
Pages: [
1
]
« previous
next »
Print
Author
Topic: Unsupported file format (Read 5687 times)
admin75
Registered Customer
Newbie
Posts: 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
Registered Customer
Newbie
Posts: 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:
<?php
Header
(
"Content-Type: application/xml"
);
@
readfile
(
"sitemap.xml"
);
?>
Logged
admin75
Registered Customer
Newbie
Posts: 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
admin
Administrator
Hero Member
Posts: 3073
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
http://www.xml-sitemaps.com
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
XML Sitemaps Discussions Category
-----------------------------
=> Unlimited PHP Sitemap Generator
=> Bug reporting for Standalone Sitemap Generator
=> Free Online Sitemaps Generator
=> Site maps - General Discussion
Loading...