How we hide the og:updated_time

#398273
Viewing 8 replies - 1 through 8 (of 8 total)
  • we have our homepage in Page*****

    Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    It seems that you’re referring to the last modified date shown on the search results pages

    If so, Google picks and shows the dates that they see in the content itself. Here’s a link for more information:
    https://rankmath.com/kb/remove-dates-from-search/

    I hope that helps.

    Thank you.

    Thank you for the link but it doesn’t solve our question. Its tells that we must get in touch with our theme provider. In you article you have an example (Schema Markup – The ONLY Guide You Need To Read in 2022) that shoes the same problem But if you search it now in Google, its does’t shows the date. How you solved it?
    https://ibb.co/Q6wC8KB

    Hello,

    Rank Math doesn’t have control over how the date is displayed on the SERP. Google tends to look for the visible date from the content of your post and usually, it’s your theme that has control over how the date is displayed on the page.

    Once you remove the visible date from your blog post, the date should be removed from the SERP as well after the next crawl.

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

    Does the Rankmath put in schmema the og:update ? Thanks

    Anas
    Rank Math business

    Hello,

    Yes, Rank Math adds the og:updated_time meta tag to the page.

    If you wish to remove it, please add this filter to your website:

    add_filter( "rank_math/opengraph/facebook/og_updated_time", function( $content ) {
    	return '';
    });

    Here is a guide you can follow to add the filter:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope that helps.

    Thank you.

    We already put this code before 5 days, but without success. Thanks.

    Hello,

    If you check the source code of the page you’ll see that the meta tag og:updated_time is no longer available on the website and as such it seems the filter is working correctly.

    However, Google will still look for dates in different ways and display the last updated date on SERPs if it identifies some date that could be related to that.

    We explain this in the article shared initially and this is not something any SEO plugin can have control over.

    Don’t hesitate to get in touch if you have any other questions.

    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 8 replies - 1 through 8 (of 8 total)

The ticket ‘How we hide the og:updated_time’ is closed to new replies.