Home Business Search Engine Optimization How To Remove Date From Google Search Result

How To Remove Date From Google Search Result

“As an Amazon Associate & Affiliate Partners of several other brands we earn from qualifying purchases.”
[Read More Here]

As most of us know that Google can read anything which is written in plain text. Same goes for the date. The date may be useful to our readers but when we are doing blogging for many years with good Google Search Result position.

Most of the people check the freshness of the article by date and want to read the latest available one. So when we Remove Date from Google Search Result, there is a higher chance they will click on your blog, and you will get the high amount of traffic.

In this post, we are going to see three methods by which you can achieve this. So let’s get started:

Steps to To Remove Date from Google Search Result

Method 1: Using JavaScript

For this we have to modify your theme file especially these three files need to be updated index.php for the homepage, single.php for the single post, archive.php for archives.

Warning: Please backup all the above three files, so in case something goes wrong you can restore it back to get your blog working.

    1. Open up the WordPress Editor from Appearance or Go to your hosting panel file manager and go to the root of your active theme folder.
    2. Find those three files which were discussed above. (These are the general file names used in most themes. In some cases, there are different names in my case it was not single.PHP, it was loop-single.php)
    3. Find this code in those files.
      <?php the_time('F jS, Y') ?>
    4. Replace that code with following and save those files.
      <script language="javascript" type="text/javascript">document.write("<?php the_time('F jS, Y') ?>");</script>

Note :-

  • If the date is appearing on any other page of your blog, you can edit that particular file and repeat the same process as illustrated above.
  • If the above method does not work and still you wanted to remove the date from Google Search Result then you have to remove the <?php the_time(‘F jS, Y’) ?> from your theme file, But this will also remove it from readers.

Method 2: Using Yoast SEO Plugin

  1. Download Yoast SEO plugin from wordpress repository.
  2. Go to your WordPress Dashboard -> SEO -> Titles & Metas -> Post Types.Title and Metas - Yoast SEO
  3. Select Hide in Date in Snippet Preview option.

Method 3: By Removing Date Manually or Using Theme Settings

Some themes provide inbuilt functionality in their settings menu to show and hide post date. You can remove the date from the frontend to prevent it from appearing in Google search results.

If your theme doesn’t have this inbuilt option and then you can try finding the PHP file where the code is inserted and remove that code manually.

Now when Search Engine crawlers fetch your site, they are not able to read the date and hence it will not appear in Search Result.

Also Read: Display Last Updated Date in Newspaper WordPress Theme

Thank you for reading this post and keep connected to Tech Arrival to continue enjoying wonderful posts. Share your views about this post in the comment section below. If you are still having any query throw it in the comment section.

If you find this post helpful, don’t hesitate to share this post on your social network. It will only take a moment, and also it is quite easy and helpful for others.

Ezoic Banner

Button Not Working?

About Author

Mehul Boricha
Mehul Boricha is the founder of Tech Arrival & Astute Links. He is a computer and smartphone geek from Junagadh, Gujarat, India. He is a Computer Engineer by Education & an Entrepreneur by Passion. Apart from technology geek, he is an audiophile & loves to connect with people.

9 COMMENTS

  • Hi, Mehul

    I have a newspaper theme and I want to hide date and author option in all from the home page so, pls. help me how can I do it.

    • Hello Harsh,

      It is very easy. Follow these steps:

      1. Go to your WordPress Dashboard -> Newspaper -> Theme Panel -> Block Settings.
      2. Click on “Meta info on Modules/Blocks” to expand it.
      3. Disable/Enable the things you want.

      Hope it helps!

  • Does the javascript method remove the date from SERP but visible on post?
    I want to hide date from SERP, not from readers.

    • Hello,

      As far as I recall there is no official Google restriction on hiding date and nor it is mentioned in any official guidelines. If you have read it somewhere from the official Google source then let us know we will mention it in the article. :)

  • Stay Connected

    Button Not Working?

    Subscribe to our Newsletter

    Stay updated with all the latest news, offers and special announcements.

    By signing up, you agree to our Privacy Policy and agree with the storage and handling of your data by this website.

    Latest Posts

    How Smartphones Have Revolutionized Online Gambling?

    The gambling industry as a whole has undertaken massive changes over the past couple of decades. When this first started, gambling took place at...

    All Time Favorites

    15 Best WiFi Hacking Apps for Android in 2020

    15 Best WiFi Hacking Apps for Android Aircrack-ng Kali Linux Nethunter WiFi WPS WPA Tester dSploit Nmap Arpspoof WiFi Inspect Network Spoofer WiFi Kill Arcai.com’s NetCut WIBR+ WPS connect ZAnti Penetration Testing Android Hacking Toolkit Fing Network Tools WIFI...

    21 Best Android Apps Not on Google Play Store of 2020

    21 Best Android Apps Not on Google Play Store Fortnite K-9 Mail XTunes QuickLyric Viper4Android Popcorn Time Torrent Search F-Droid MiXplorer Tubemate Tachiyomi AnYme Xposed Framework AdAway Lucky Patcher Lawnchair YouTube Vanced GCam Amazon App Store APK Mirror Mobdro Applies To: Android Google Play Store has the...

    14 Best Game Hacker Apps for Android 2020 [With/Without Root]

    13 Best Game Hacker Apps for Android Xmodgames HackerBot Cheat Engine Nox Bluestacks GameCih Using Mods with Private Servers File Manager Lucky Patcher (Root/No Root) Creehack SB Game Hacker LeoPlay Card Game Killer Game Guardian Applies To: Android Are you...
    >