Hi! Google Webmaster Tools shows my sitemap index has errors. All the sitemaps show errors with the folowing details:
Unsupported file format
Your Sitemap does not appear to be in a supported format. Please ensure it meets our Sitemap guidelines and resubmit.
I have submitted sitemap.php.
Could you help with solving the problem?
Many thanks.
Hi David
I Was wondering what the answer for this problem was as I am having the same problem. Not all merchants just some.
Thank You
Dean
Hi Dean,
This was to do with PHP generating a warning message inline when there is no start= variable included in the URL. The fix is straight forward - in sitemap.php, look for the following code on line 12:
$start = ($_GET["start"]?$_GET["start"]:0);
...and REPLACE that line with:
if (isset($_GET["start"]))
{
$start = $_GET["start"];
}
else
{
$start = 0;
}
Cheers,
David.
Hi David
I guess I have an older version of sitemap.php that line is is not in file.
Thank You
Dean
Hi,
Could you email me a link to your site and i'll take a look at your sitemap and check it out for you!
Cheers,
David.