XML Sitemaps Generator

    Advanced search
Sitemap Generator Forum
August 30, 2008, 03:14:23 PM
Welcome, Guest. Please login or register.
Did you miss your activation email?

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
Pages: [1]
  Print  
Author Topic: Unsupported file format  (Read 5687 times)
admin75
Registered Customer
Newbie
*
Posts: 3


View Profile
« 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


View Profile
« 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.  Smiley

Code:
<?php

Header 
("Content-Type: application/xml");

@
readfile("sitemap.xml");
?>
Logged
admin75
Registered Customer
Newbie
*
Posts: 3


View Profile
« 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


View Profile
« 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

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!