Remove Date From Google Serps – Hide Serp Description Date

If your posts are “timeless”, the post date that is shown in google’s search results may significantly limit the number of visitors you receive. It may lower the click-through rate to your website and as a side effect lower your rankings. For many queries the date-stamp is a good indicator whether that particular result is what you’re after. However in some cases, where post date doesn’t matter at all, but it’s still being displayed in the SERPs, you would want to consider hiding it from the search engines or completely removing it. In such cases you will notice two positive effects following your modification; more visitors and SERP increase.

Why Would You Display Information That Might Negatively Impact Your Website?

Delete Date Serps

Let’s make an example. You’re searching for a pancake recipe and you find two results in the SERPs that are very compelling to you. One is dated 2006 and the other one is dated as being two months old. You are very likely to pick the most recent date, but that doesn’t mean the recent recipe is better and more delicious than the one from 2006. Chefs were just as good at that time as they are today. You see the concern here is that your website might get lower ranking through absolutely no fault of yours. Less people might click on your webpage in the SERPs, because of the date and human nature.

Removing The Date From A WordPress Blog

WordPress is a popular platform. That’s why we’ll use it for this example. But you can use these same steps and just modify it a little for any kind of script/platform. You just need to find that part of the code that is displaying the date and comment it out or remove it.

Google’s date-stamp feature may be picking up the date not only from posts and pages, but also comments. So you need to edit them all.

Go to your wordpress backend and edit your child theme function file. Add the following code:

function jl_remove_post_dates() {
	add_filter('the_date', '__return_false');
	add_filter('the_time', '__return_false');
	add_filter('the_modified_date', '__return_false');
	add_filter('get_the_date', '__return_false');
	add_filter('get_the_time', '__return_false');
	add_filter('get_the_modified_date', '__return_false');
} add_action('loop_start', 'jl_remove_post_dates');

2 thoughts on “Remove Date From Google Serps – Hide Serp Description Date”

  1. Hi, I want to remove the date from google snippet but i did not find any code like you have described. I am using smartline theme. What to do? How can i remove the date from google search engine snippet?

  2. Well, a lot has changed from 8 years ago when I wrote this post. Now we solve this with functions in a child theme. I have updated the post.


Leave a Comment