Page 1 of 1

Sitemap not generating correctly

Posted: Sat Jul 04, 2020 1:58 am
by fzero
Hi everyone,

I've just installed phpmyfaq, created a couple of pages and I've just realized that the sitemap aren't generating correctly.
Google Search Console just tells me "Invalid Date Found. Correct the date or the format before resend."


The output of the sitemap.xml.php is:

<urlset xmlns="http://www.google.com/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.9 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">
<url>
<loc>http://MYWEBSITE.com.br/</loc>
<lastmod>2020-07-03T21:28:36-0300</lastmod>
</url>
<url>
<loc>http://MYWEBSITE.com.br/index.php?actio ... pt-br</loc>
<lastmod>1969-12-31T21:00:00-0300</lastmod>
</url>
</urlset>

Does anyone know what is up with this?

Thanks in advance!

Re: Sitemap not generating correctly

Posted: Sat Jul 04, 2020 2:37 pm
by Thorsten
Hi,

which version do you use?

bye
Thorsten

Re: Sitemap not generating correctly

Posted: Sat Jul 04, 2020 6:38 pm
by fzero
Hi!

phpMyFaq - 3.0.3
Apache 2.4.38
PHP 7.3.14.1

Running on Debian 10

Re: Sitemap not generating correctly

Posted: Sun Jul 05, 2020 9:13 am
by Thorsten
Hi,

you're right, I'll fix it for 3.0.4

Thanks for the hint.

bye
Thorsten