Jump to content

[SOLVED] Wrong date format and xml address in latest google sitemap update


Recommended Posts

Help : I've just updated the standar prestashop certified google sitemap module in prestashop 1.5.4, and it gave wrong date format in google webmaster tools when I uploaded it. Also, le xml address given by the module, is not the same as the one that is created.

<lastmod>2013-10-21 15:56:22</lastmod>

should be written

<lastmod>2013-10-21T15:56:22+2.00</lastmod> for it to be accepted by google

 

 

Thank you for your help in these issues

  • Like 1
Link to comment
Share on other sites

I modified the php file as mentionned and the the return value from google webmaster tools is still wrong :

 

alert.png
Errors
Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.
5,120
Parent tag: url
Tag: lastmod
Value: 2013-10-25 08:45:54
91
Oct 25, 2013
Parent tag: url
Tag: lastmod
Value: 2013-10-25 08:46:39
103
Oct 25, 2013
Parent tag: url
Tag: lastmod
Value: 2013-10-25 08:46:39
115
Oct 25, 2013
Link to comment
Share on other sites

  • 1 year later...
  • 6 months later...
×
×
  • Create New...