Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
The screenshot you have shared is not working. Could you please check? Please also share the affected URL to investigate.
Meanwhile, if you’re referring to the dateModified
value in your schema, you can customize this filter to remove it:
/**
* Filter to change the schema data.
* Replace $schema_type with schema name like article, review, etc.
* @param array $entity Snippet Data
* @return array
*/
add_filter( "rank_math/snippet/rich_snippet_{$schema}_entity", function( $entity ) {
unset( $entity['dateModified']);
return $entity;
});
And here’s a link to how to apply this to your site:
https://rankmath.com/kb/filters-hooks-api-developer/#adding-filters-and-hooks-in-rank-math-php
Please also note that Google recommends these properties for your schema markup.
Looking forward to helping you.
Thank you.
Hi, How are you!
I used Rankmath to modify the meta description, especially inserting the modification date. Unfortunately, although the modification date is displayed, the post-publication date is also displayed(https://ibb.co/wWxjNqg). How to display only the post-modification date?
Warmest Regards,
Freedom
Hello,
Thank you for that screenshot.
I’ve checked the link on the screenshot you have provided, and the modification date is not showing. Could you please confirm if the URL is correct?
Here’s a screenshot for your reference:

However, you can follow the steps above to remove the dateModified on your page’s schema. You can also check this link for more information on how to remove the date on search engine results pages:
https://rankmath.com/kb/remove-dates-from-search/
I hope that helps.
Thank you.
https://ibb.co/wWxjNqg (This is the image link)
I want to delete the publication date and only keep the updated date.
Thanks.
Hello,
I can check that your posts display the date in the frontend:

As we have mentioned in this article, Google displays the date in the SERPs if they are visible in the frontend on your posts. Please remove the date from the theme options or get in touch with your theme’s devs and ask them to remove the date.
Let us know how that goes. Looking forward to your update.
Thanks.
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.