[Resolved] Date not updating in Google

Home Forums Support [Resolved] Date not updating in Google

Home Forums Support Date not updating in Google

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #1305444
    Tibs

    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)

    Details: I’m using Author/Date snippet: http://prntscr.com/splkf1 so it could look like this: http://prntscr.com/spllf1. I also have custom CSS: http://prntscr.com/spllxs.

    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.

    #1305557
    Leo
    Staff
    Customer Support
    #1305678
    Tibs

    Tried it, no luck: http://prntscr.com/sppcze

    Anything else?

    #1305741
    Tibs

    Quick disclosure:

    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.

    #1305822
    Leo
    Staff
    Customer Support

    Can you remove the other generate_post_date_output function which is adding the separator to test first?

    Please make sure your caching plugins are all cleared if you are using one.

    #1306507
    Tibs

    Just to confirm:

    You’d like for me to remove this line of code: prntscr.com/sq56hs

    And then clear cache?

    #1306521
    Leo
    Staff
    Customer Support

    Yup give that a shot first.

    Let me know πŸ™‚

    #1306865
    Tibs

    I’ve removed the snippet: http://prntscr.com/sq9hxb

    (Now, there’s no space between author and date: http://prntscr.com/sq9ihv)

    I’ve also cleared cache. Lastly, I’ve requested Google to index content to see if date will update in Google search.

    So far, nothing. Date is still outdated in Google.

    #1307092
    Tom
    Lead Developer
    Lead 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?

    #1307113
    Tibs

    Sure thing!

    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).

    #1307918
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    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.

    #1307991
    Tibs

    Hey Tom,

    I’ve added the snippet: http://prntscr.com/sqrmmb

    Now it shows two dates on post: http://prntscr.com/sqrmw2

    P.S. Would it be ok with you if you removed my post URL from your answer?

    I appreciate your help Tom in trying to find a solution πŸ™‚

    #1307995
    Tibs

    Note: I have this snippet enabled too: http://prntscr.com/sqrovn

    #1308157
    Tom
    Lead Developer
    Lead Developer

    Can you remove the last function from your second snippet? The post date one?

    #1308171
    Tibs

    Are you referencing to the Author/Date snippet?

    If so, I just removed it: http://prntscr.com/sqv563.

    (Now, there’s no space between text and no ‘updated’ text: http://prntscr.com/sqv5lw)

Viewing 15 posts - 1 through 15 (of 23 total)
  • You must be logged in to reply to this topic.