Remove date stamp from Google search results

BassMan

Well-known member
Is there any way to remove date stamp from Google search results?

Some of my threads are still very popular, but are 2 years old or more and I don't want to show that in Google search results as maybe some users aren't likely to click on that link.
 
Adding or removing a date stamp on a page doesn't really matter, because Google have their own date calendar for your pages upon being crawled and cached. Your date stamps are only for your visitors, not for Google.
 
Oh... if you really wanted to remove them for guests (bots), go find them in templates and do something like:

HTML:
<xen:if is="{$visitor.user_id}">
<span class="item muted">
<span class="authorEnd"><xen:username user="$post" class="author" />,</span>
<a href="{xen:link threads/post-permalink, $thread, 'post={$post}'}" title="{xen:phrase permalink}" class="datePermalink"><xen:datetime time="$post.post_date" /></a>
</span>
</xen:if>
 
Top Bottom