- This topic has 22 replies, 2 voices, and was last updated 3 months, 2 weeks ago by Tibs.
May 28, 2020 at 11:38 am #1305444Tibs
I’ve read other support tickets about this topic, but couldn’t come to a conclusion.
Here are the details:
Problem: Date isn’t being updated in Google Snippet: http://prntscr.com/spljvn. (It updates fine on website, but not on Google Search)
Question: How can I make the updated date show up in Google search?
P.S. I’ve had no problems with this issue with other themes. I’d update the post and shortly after, Google would pick up the updated date and display in search.May 28, 2020 at 1:37 pm #1305557LeoStaffCustomer Support
Let me know 🙂May 28, 2020 at 3:51 pm #1305678Tibs
Tried it, no luck: http://prntscr.com/sppcze
Anything else?May 28, 2020 at 6:11 pm #1305741Tibs
My previous theme (Soledad) didn’t have this problem. The date would update both on site and Google search.
I just changed the theme to (GeneratePress) and now, the date isn’t updating in Google search. In fact, it shows the original published date — not the updated date.May 28, 2020 at 8:54 pm #1305822LeoStaffCustomer SupportMay 29, 2020 at 7:58 am #1306507Tibs
Just to confirm:
You’d like for me to remove this line of code: prntscr.com/sq56hs
And then clear cache?May 29, 2020 at 8:06 am #1306521LeoStaffCustomer SupportMay 29, 2020 at 11:52 am #1306865TibsMay 29, 2020 at 4:50 pm #1307092TomLead DeveloperLead Developer
You should be fine to add those functions back.
These things aren’t instant in Google – it may take a couple of days to update. Any chance you can link us to your site so I can take a look at the code to make sure it looks good?May 29, 2020 at 6:11 pm #1307113Tibs
I’ve edited the original post to include my website 🙂
Side note: I used to use Soledad theme and the dates would update (both on site and in Google). 2 days ago, I switched themes to GeneratePress and now, the dates are reverting back to original published date (in Google).May 30, 2020 at 10:29 am #1307918TomLead DeveloperLead Developer
So I went to
/**and it doesn’t look like this snippet is activated: https://docs.generatepress.com/article/generate_post_date_output/#only-show-updated-date
I’m seeing the published and updated date in the source, whereas if the snippet was activated only the updated date would be there.May 30, 2020 at 12:03 pm #1307991TibsMay 30, 2020 at 12:06 pm #1307995Tibs
Note: I have this snippet enabled too: http://prntscr.com/sqrovnMay 30, 2020 at 3:58 pm #1308157TomLead DeveloperLead DeveloperMay 30, 2020 at 4:27 pm #1308171
- You must be logged in to reply to this topic.