1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Remove date stamp from Google search results

Discussion in 'Forum Management' started by BassMan, Aug 6, 2014.

  1. BassMan

    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.
  2. Anthony Parsons

    Anthony Parsons Well-Known Member

    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.
  3. Anthony Parsons

    Anthony Parsons Well-Known Member

    Oh... if you really wanted to remove them for guests (bots), go find them in templates and do something like:

    <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>
    Wysie likes this.

Share This Page