1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Cannot Index my page, Invalid date ???

Discussion in 'Google Sitemaps' started by bstunt, Apr 24, 2008.

  1. #1
    Invalid date
    An invalid date was found. Please fix the date or formatting before resubmitting.
    SEMrush
     
    bstunt, Apr 24, 2008 IP
    SEMrush
  2. websitetools

    websitetools Well-Known Member

    Messages:
    1,510
    Likes Received:
    25
    Best Answers:
    4
    Trophy Points:
    170
    #2
    Does that error occur in your XML sitemap? Can we see what URL / XML sitemap file Google (?) complains about?
     
    websitetools, Apr 24, 2008 IP
  3. bstunt

    bstunt Well-Known Member

    Messages:
    385
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Google Said:
    my xml looks like this:

      <?xml version="1.0" encoding="UTF-8" ?> 
    - <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    - <url>
      <loc>http://www.zdonuts.com/</loc> 
      <lastmod>0</lastmod> 
      <changefreq>daily</changefreq> 
      <priority>1.0</priority> 
      </url>
    - <url>
      <loc>http://www.zdonuts.com/game/881/GunMaster-Onslaught-2.0.html</loc> 
      <changefreq>weekly</changefreq> 
      </url>
    - <url>
      <loc>http://www.zdonuts.com/game/880/Bass-Fishing-Pro.html</loc> 
    Code (markup):
     
    bstunt, Apr 24, 2008 IP
  4. websitetools

    websitetools Well-Known Member

    Messages:
    1,510
    Likes Received:
    25
    Best Answers:
    4
    Trophy Points:
    170
    #4
    I doubt you can use 0 for lastmod... So like it suggests, remove it :)
     
    websitetools, Apr 26, 2008 IP
  5. mistoovrool

    mistoovrool Banned

    Messages:
    202
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    <lastmod>0</lastmod>
    Remove this and resubmit again.
    Problem will be solved.:)
     
    mistoovrool, May 8, 2008 IP
  6. basu777

    basu777 Peon

    Messages:
    19
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    This error means that your sitemap contains an entry which has an invalid last modified date. Google Sitemaps requires the ISO-8601 encoding which has two variations:
    - 2005-02-21
    This one just contains the year (4 digit), the month (2 digit) and the day (2 digit)
    - 2005-02-21T18:00:15+00:00
    This one is more complex and includes the year (4 digit), the month (2 digit) and the day (2 digit) followed by the character "T", the hour (2 digit), colon, minute (2 digit), colon, second (2 digit) and finally the time zone with the character "+" OR "-", the timezone offset in hours (2 digit) and minutes (2 digit).
    It's important to include ALL parts of the chosen date format and pay attention to the correct order. See the ISO-8601 specification for more examples.
     
    basu777, Sep 19, 2008 IP
    webrickco likes this.