: Sitemap change frequency I'm sitemapping all my forum topics. It works great: <url> <loc>http://127.0.0.1/scirranew/Forum/Breaks-and-slowdowns-Vram-200_topic32854.html</loc>
I'm sitemapping all my forum topics. It works great:
<url>
<loc>http://127.0.0.1/scirranew/Forum/Breaks-and-slowdowns-Vram-200_topic32854.html</loc>
<lastmod>2010-11-06</lastmod>
<changefreq>daily</changefreq>
<priority>0.7</priority>
</url>
However, with change frequency, this totally depends on how long ago the last reply was. Is it ok, to dynamically generate these values, or should I leave this XML tag out completely? IE, I was planning on doing:
If last reply date was:
< 1 hour ago = always
< 1 day ago = hourly
< 1 week ago = daily
< 4 weeks ago = weekly
< 12 months ago = monthly
else yearly
Thanks for any tips!
More posts by @Moriarity557
1 Comments
Sorted by latest first Latest Oldest Best
I leave it out. It doesn't really offer Google or any other search engine anything useful and with dynamic pages its real value is going to vary wildly and that value will rarely be correct.
But I like your approach. If you feel it's necessary to include it that might not be a bad way to do it. Or you could really go the extra mile and figure out the time between the most recent comment and the one ten comments before it and use the average time between comments as your value. It would be more accurate but still hardly useful.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.