Closed pjrvs closed 1 year ago
This makes Google think it's blackhat/spam if the lastmod date for every single post is the same date/time when the site was compiled. I can't figure out how to get it to not do that without just removing , time() from the generator.
, time()
Weird. It should be what you pass when adding items:
// add some URLs $sitemap->addItem('http://example.com/mylink2', $postTime);
This makes Google think it's blackhat/spam if the lastmod date for every single post is the same date/time when the site was compiled. I can't figure out how to get it to not do that without just removing
, time()
from the generator.