Modified date not applied to Google search result.

#772064
  • Resolved Anonymous
    Rank Math free

    Modified date not showing in Google Search, even if we are having dateModified and datePublished in schema

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    I’m sorry to hear that you are facing an issue with the modified date not being displayed in Google search results despite including the dateModified and datePublished in the schema.

    Google may display the wrong date in search results, showing the published date instead of the last modified date. This can happen when Google gathers dates from your content and displays the one it deems most accurate. If Google cannot determine the correct date, it may guess.

    To address this issue, you can remove the published date from your content and structured data. By doing so, only the last modified and updated dates will be available to Google.

    You can follow these steps to remove the published date:

    1. Remove the dates from your content, including those added by you, WordPress, your theme, plugins, or comments.
    2. Check if your WordPress theme or plugin settings have options to remove dates. If not, contact the theme or plugin developer for support.
    3. Edit or delete comments containing dates to prevent Google from picking them as published dates.
    4. Remove the date properties from your structured data using a filter if Rank Math is installed. Here is an example of a filter you can use:
    add_filter( "rank_math/snippet/rich_snippet_article_entity", function( $entity ) {
      unset( $entity['dateModified'] );
      unset( $entity['datePublished'] );
      return $entity;
    });

    For more information, you can refer to this knowledge base article.

    If you have any further questions or need assistance, please feel free to ask. Thank you for raising this concern.

    Sources:
    How to Change the Date & Time on Your Posts/Pages » Rank Math
    How to Remove Date Snippets from Search Results » Rank Math
    Why Are My Rich Snippets Not Showing Up in Google Search? » Rank Math

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Google uses the datePublished and dateModified properties of the Date Schema to estimate the date and time an article was published or modified. You can check these properties using the Rich Results Test tool by entering your post/page URL.

    By ensuring that there are no conflicting dates in your content, by checking the Schema properties, and verifying the article meta tags, you can help Google display the correct date for your post in the search results.

    We can see that the published date in the schema still shows: "datePublished":"2023-12-23T20:37:13+00:00". You can follow this guide to change that: https://rankmath.com/kb/changing-publish-date-and-time-wordpress/

    Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Modified date not applied to Google search result.’ is closed to new replies.