I'm at my wits end. Google has recently been rejecting our sitemap due
to "unsupported file format." Usually our sitemap is server generated
and in gz format since it is about 12MB in size.
However, to troubleshoot I have created a very basic 1 URL sitemap
using the header that Google recommends in their sitemap faq. This is
also being rejected. Would someone mind looking at this and telling me
what may be wrong:
> I'm at my wits end. Google has recently been rejecting our sitemap due
> to "unsupported file format." Usually our sitemap is server generated
> and in gz format since it is about 12MB in size.
> However, to troubleshoot I have created a very basic 1 URL sitemap
> using the header that Google recommends in their sitemap faq. This is
> also being rejected. Would someone mind looking at this and telling me
> what may be wrong:
Cristina
Thanks for the reply. I am able to see the sitemap in IE but not in
Firefox - that is where I get the "unexpected T_STRING" error as
reported by your HTTP response script.
What is that error, how can I remove it? I just assumed it was some
error due to Firefox's inability to open xml pages?
thanks
> > I'm at my wits end. Google has recently been rejecting our sitemap due
> > to "unsupported file format." Usually our sitemap is server generated
> > and in gz format since it is about 12MB in size.
> > However, to troubleshoot I have created a very basic 1 URL sitemap
> > using the header that Google recommends in their sitemap faq. This is
> > also being rejected. Would someone mind looking at this and telling me
> > what may be wrong:
Hi,
You need the XML declaration
<?xml version="1.0" encoding="UTF-8"?>
to be at start of file.
The error that I am getting now with
http://www.fordmuscle.com/sitemap_test3.xml is that the XML declaration
is not at the start of the first line,
there is a BOM (byte-order mark)
and an empty character before it,
you need the XML declaration to be at start of file.
> Cristina
> Thanks for the reply. I am able to see the sitemap in IE but not in
> Firefox - that is where I get the "unexpected T_STRING" error as
> reported by your HTTP response script.
> What is that error, how can I remove it? I just assumed it was some
> error due to Firefox's inability to open xml pages?
> thanks
> > > I'm at my wits end. Google has recently been rejecting our sitemap due
> > > to "unsupported file format." Usually our sitemap is server generated
> > > and in gz format since it is about 12MB in size.
> > > However, to troubleshoot I have created a very basic 1 URL sitemap
> > > using the header that Google recommends in their sitemap faq. This is
> > > also being rejected. Would someone mind looking at this and telling me
> > > what may be wrong:
No matter what browser you use it's the same error. It has nothing to
do with the browser. Your php script has syntax errrors, the server
reports that.
> Cristina
> Thanks for the reply. I am able to see the sitemap in IE but not in
> Firefox - that is where I get the "unexpected T_STRING" error as
> reported by your HTTP response script.
> What is that error, how can I remove it? I just assumed it was some
> error due to Firefox's inability to open xml pages?
> thanks
> > > I'm at my wits end. Google has recently been rejecting our sitemap due
> > > to "unsupported file format." Usually our sitemap is server generated
> > > and in gz format since it is about 12MB in size.
> > > However, to troubleshoot I have created a very basic 1 URL sitemap
> > > using the header that Google recommends in their sitemap faq. This is
> > > also being rejected. Would someone mind looking at this and telling me
> > > what may be wrong:
Your homepage is at the root. The index.php is a duplicate, and you
shuodl nto use it in navigation. You should in fact 301 redirect it
back to the root.
> No matter what browser you use it's the same error. It has nothing to
> do with the browser. Your php script has syntax errrors, the server
> reports that.
> On May 7, 4:03 pm, 67stang wrote:
> > Cristina
> > Thanks for the reply. I am able to see the sitemap in IE but not in
> > Firefox - that is where I get the "unexpected T_STRING" error as
> > reported by your HTTP response script.
> > What is that error, how can I remove it? I just assumed it was some
> > error due to Firefox's inability to open xml pages?
> > thanks
> > > > I'm at my wits end. Google has recently been rejecting our sitemap due
> > > > to "unsupported file format." Usually our sitemap is server generated
> > > > and in gz format since it is about 12MB in size.
> > > > However, to troubleshoot I have created a very basic 1 URL sitemap
> > > > using the header that Google recommends in their sitemap faq. This is
> > > > also being rejected. Would someone mind looking at this and telling me
> > > > what may be wrong:
> Cristina
> Thanks for the reply. I am able to see the sitemap in IE but not in
> Firefox - that is where I get the "unexpected T_STRING" error as
> reported by your HTTP response script.
> What is that error, how can I remove it? I just assumed it was some
> error due to Firefox's inability to open xml pages?
> thanks
> > > I'm at my wits end. Google has recently been rejecting our sitemap due
> > > to "unsupported file format." Usually our sitemap is server generated
> > > and in gz format since it is about 12MB in size.
> > > However, to troubleshoot I have created a very basic 1 URL sitemap
> > > using the header that Google recommends in their sitemap faq. This is
> > > also being rejected. Would someone mind looking at this and telling me
> > > what may be wrong: