By default, in your WordPress blog posts, you’ll find the ‘Published’ date, like if you published a post two years back on April 3rd, then the date will be like 03.04.2015. Even search engines take this date and display it in the search results. But it’s kinda annoying right, like, you published this post two years back, but you keep on updating it till now, still search engines and readers think it’s outdated and two years old.
So the easy solution for this is to display the ‘Last Updated/Modified Date’ on your WordPress blog post articles, so that search engines will also consider that you have updated the post with new information and they’ll display the ‘updated’ date on search results.
Go to your theme editor, find single.php file, and there, search for your default normal PHP tag which shows the date, and replace that with this ‘modified’ code tag below:
<?php the_modified_date(); ?>
So replace the code with this, and save the file.
And this is how it appears, I edited this post today and added new information, so the ‘date’ gets updated as well.
This is something all the blogs should have, we have been blogging for years, and we keep on updating them. So this small tweak will help search engines to understand that we have freshly updated the content.
This is the permalink: https://hellboundbloggers.com/articles/sites-that-pay-to-write-reviews/4396/
We made sure that there is no ‘year’ or ‘month’ in the permalink URL. Because we realized we update the articles often, and it feels awkward to have the published year in the URL. I felt like this.
It might take some time for the search engines to understand that the author has updated the article, so after some time, your blog post will appear like this in search engine results, like this one from Google: