You are here:  »  Sitemap errors

Support Forum



Sitemap errors

Submitted by shabbysheep on Tue, 2008-08-19 23:49 in

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.

Submitted by support on Wed, 2008-08-20 08:12

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.

Submitted by Deanh01 on Tue, 2009-02-17 00:21

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

Submitted by support on Tue, 2009-02-17 09:58

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.

Submitted by Deanh01 on Tue, 2009-02-17 12:23

Hi David
I guess I have an older version of sitemap.php that line is is not in file.
Thank You
Dean

Submitted by support on Tue, 2009-02-17 12:25

Hi Dean,

Could you email me your sitemap.php i'll check it out for you...

Cheers,
David.