Hello,
We apologize for the issue you are facing with the VideoObject schema and how it affects the publication date displayed in Google search results. Thank you for raising this concern.
Known Issue
This behavior can occur because Google sometimes prioritizes the uploadDate
from the VideoObject schema over the datePublished
from the Article schema. This is not an uncommon issue, especially when both schemas are present, and it can lead to confusion regarding the correct publication date.
Disabling VideoObject Schema
Currently, there is no direct option in Rank Math to disable the automatic inclusion of the VideoObject schema when a video is embedded. However, you can manage how structured data is presented by ensuring that your content clearly indicates the publication date and that it is prioritized in your structured data.
Recommended Solutions
To help ensure that Google displays the correct article publication date:
- Remove the Published Date from Video Schema: If possible, consider not including the
uploadDate
in your VideoObject schema if it’s not necessary for your content. This may require custom coding or adjustments to how you embed videos.
- Use Structured Data Testing Tool: Regularly check your structured data using Google’s Rich Results Test to ensure that your
datePublished
is correctly recognized.
- Content Visibility: Make sure that the publication date is clearly visible in your article content, as Google also considers visible dates when determining which date to display.
- Feedback to Google: If you continue to experience issues, consider submitting feedback to Google through their Search Console or forums, as they may take this into account for future updates.
If you need further assistance or a more tailored solution, we recommend replying to this ticket, and a human agent from our support team will take over and provide additional help. If you have any technical issues on your site, please include your site URL in your reply.
Thank you for your understanding, and we hope this helps resolve your issue!
Sources:
Video Schema Type » Rank Math
Hello,
If you want to remove the date, you can add this filter on your website to remove the ya:ovs:upload_date
meta tag and the uploadDate
from the Video schema manually:
add_filter( 'rank_math/opengraph/facebook/ya_ovs_upload_date', '__return_false');
add_filter( 'rank_math/snippet/rich_snippet_videoobject_entity', function( $entity ) {
unset( $entity['uploadDate'] );
return $entity;
});
Here’s how you can add a filter/hook to your WordPress site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Looking forward to helping you.
Okay, but is this a known issue on your end? Is the filter retroactive or does it only apply from the moment I implement it onward? Thank you for your support.
Hello,
The filter is automatically applied to both the schema and metadata once it is added to your site.
Additionally, the data in question is structured as properties per Google’s guidelines.
While there is a possibility that Google may choose to display this information in search results, you have the option to disable these properties on your site if you prefer to prevent them from being shown.
Looking forward to helping you.
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.