Hi,
Originally Posted by
kprojects
Hello,
Using vshare v.2.8.1
When generating a sitemap from the admin section of vshare, then submitting "site.com/sitemap/sitemap_index.xml.gz" to google webmaster tools, google complains of an invalid date:
"An invalid date was found. Please fix the date or formatting before resubmitting"
The date on my server is showing the correct time - anyone else getting this or know a fix?
Thanks.
Open vShare/include/class.sitemap.php file and find
Code:
date('Y-m-d h:i:s', $sitemap_info['sitemap_create_date'])
Replace with
Code:
date('c', $sitemap_info['sitemap_create_date'])
Also, as a related note.. google webmaster tools complains about the 3rd line in robots.txt:
Sitemap: sitemap.xml
Saying:
Invalid sitemap URL detected; syntax not understood
Open vShare/robots.txt file and find
Code:
Sitemap: sitemap.xml
Replace with
Code:
Sitemap: sitemap/sitemap_index.xml.gz
Then create sitemap again.
Thanks,
Buyscripts Team.
Bookmarks