anyone have any thoughts on this?
still nothing? I can’t figure out why its not indexing the category and tag pages?
I have the same problem. In my case the sitemap file includes all posts wheever I manually rebuild the file but then goes back to only having header info in the file whenver I publish new posts.
If you find out a resolution to this then please let me know.
Will do. I’m going to play around with the plugin to see what I can find. I don’t index individual posts, just the tag and archive pages. I’m not sure if last mod date matters for big G? But I figure having it there couldn’t hurt.
OK. I rigged the plugin to make the last modified date the time the sitemap was generated. I use wordpress as a CMS so almost all my pages change daily anyways. My issue is I upload info via a CVS file and the last modified date wasn’t showing up properly I tested tag pages by putting the last modified date function at the end to see what was showing up. It wasn’t showing up correctly. As a quick work around that works for me, I figured I would just output the last modified date as the current time when the sitemap is generated. In function render, starting on line 789 in sitemap-core.php, I changed added this line:
`$blogtime = current_time(‘mysql’);’
then i modified the output of the last modified function as follows:
$r.= "\t\t<lastmod>" . $blogtime . "</lastmod>\n";
This will output the current time. Hope this helps.
OK spoke to soon. Google tells me that the time is invalid. Will report back.
OK, this will output just the date and not the time. Having the time formatted the way it was didn’t conform the the way google likes it. This will work:
$blogtime = date('Y-m-d',current_time('timestamp',0));