• I have created a shortcode in WP that displays the relative (today’s) date (dynamically) and implemented this in titles and descriptions. So whenever my article is shown up in Google Search Engine, they either show yesterday’s date or 2-3 days older ones. What could be the reason? How can I resolve this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • What you see on your site is real-time info generated by code running on your site when the page is called.

    What you see on Google is -not- real-time: it’s a static snapshot of what Google’s bot captured the last time it visited your site. And Google will continue to show this static snapshot stored in its database until the bots revisit your site and take a new snapshot.

    Thread Starter komaldhobe

    (@komaldhobe)

    hey @gappiah thank you so much for your reply.

    Though, I’ve noticed that our competitors use relative dates in their titles on Google Search. How do they manage to do that?

    • This reply was modified 3 weeks, 3 days ago by komaldhobe.

    I’ve no clue.

    But I guess showing relative dates is one thing. And the relative date being accurate to the date of the query for all results from the website (ie other than pages indexed that very day) is something else, especially for non-news sites.

    But what I do know is that code running on your website cannot in any way directly influence Google’s search results in real time.

    Since you seem to care about SEO, I’ll assume you’re using an SEO plugin. I therefore recommend you seek guidance from the authors of the SEO plugin you’re using: they’re far more likely to know a thing or two about the inner workings of Google.

    Good luck!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.