Date appears in search results

In some cases, Google displays date information in their search results. WordPress, along with many themes, automatically add hatom microformats onto your posts and, sometimes your pages.

Table of contents

But the Yoast SEO dates are disabled

The Yoast SEO date setting applies to the snippet preview you see on your post in the Yoast SEO meta box. This does not impact whether or not Google shows a date but, instead, allows you to adjust the snippet preview to match how Google handles your site.

But I see article and time meta tags

These tags are used by Facebook. Please refer to this guide: Facebook OpenGraph Meta Tags.

Why is the date is wrong?

There are a number of ways that Google determines the date of your post. Most commonly, a plugin or theme adds a date to the article. Please view the page source of your post to see if the date in invalid inside the code.

If the invalid date is within your source code, there is something inside WordPress or possibly your server that has stored an invalid date. If the date is within the Yoast SEO data, please contact support.

If the invalid date is not within the source code, you are likely embedding a video or other piece of information that Google has used to date your post.

How can I remove the date from the search results?

While it’s possible to remove date information, it’s not always a simple process. There are a handful of plugins that offer date removal features here.

If the plugin directory doesn’t offer what you need, you or your developer can manually remove dates from your theme.

Developer Tip: This code might help you get started.

Once you get the date removed from your site, if you only have a handle of pages or posts you can use the Inspect any URL tool in Google Search Console on them to encourage Google to update the index.

If you have many pages and posts, you can resubmit your sitemap to Google and have Google re-crawl the site. Eventually, Google will drop off the dates.