VideoObject schema overrides correct publication date in SERP

#1057089
  • Resolved Luca Baldaccini
    Rank Math free

    Hello,

    I need your assistance regarding an issue I’m experiencing with how Rank Math handles structured data for posts containing videos.

    Whenever I embed a video in an article, Rank Math automatically adds a VideoObject schema alongside the Article schema. The problem is that Google sometimes picks the uploadDate from the video as the publication date of the article, ignoring the correct datePublished in the Article schema.

    For example:
    The article https://myredcarpet.eu/bridgerton-3-recensione-e-il-turno-di-penelope-e-colin/ was published on May 16, 2024, but Google displays April 11, 2024 in search results — which is the upload date of the embedded YouTube video at the bottom of the page.

    This mismatch is causing major SEO problems, especially for time-sensitive content.

    Questions:

    Is this a known issue?

    Is there a way to disable the automatic inclusion of the VideoObject schema?

    What’s the recommended way to ensure Google shows the correct article publication date?

    Thank you very much in advance for your help.

    Best regards,
    Luca

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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:

    1. 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.
    2. Use Structured Data Testing Tool: Regularly check your structured data using Google’s Rich Results Test to ensure that your datePublished is correctly recognized.
    3. 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.
    4. 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.

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

The ticket ‘VideoObject schema overrides correct publication date in SERP’ is closed to new replies.