video upload_date as the Product update date

#698846
  • Resolved Sven Möller
    Rank Math free

    Hello,

    Google is using “ya ovs upload_date” as the Product update date

    Product link: https://www.chilevapo.cl/vaporesso-xros-3-kit-pod/

    Why is google doing this?
    How could I disable this option to make Google realize the correct updated time because it is hitting on SEO ranking.

    PS: Also google is not displaying the main image in the search.

    Best regards!

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

    We apologize for the inconvenience you are facing. Google may use the “upload_date” as the product update date due to the structured data on your website. To resolve this issue, you can include the correct timezone information for the “uploadDate” Schema property.

    You can add a filter to your theme’s functions.php or rank-math.php file to ensure that the UploadDate Schema property includes the correct timezone information. Here is the filter code you can use:

    add_filter( 'rank_math/snippet/rich_snippet_videoobject_entity', function( $entity ) {
        if ( empty( $entity['uploadDate'] ) ) {
            return $entity;
        }
    
        $parts = explode( 'T', $entity['uploadDate'] );
        if ( ! empty( $parts[ 1 ] ) ) {
            return $entity;
        }
    
        $entity['uploadDate'] = wp_date( 'Y-m-dTH:i:sP', strtotime( $entity['uploadDate'] ) );
    
        return $entity;
    } );

    Regarding the main image not displaying in the search results, this could be due to various factors such as image size, alt text, and structured data. Ensuring that your images are optimized and that structured data is correctly implemented can help resolve this issue.

    If you need further assistance with implementing the filter or optimizing your images for search results, please feel free to assign this ticket to a human agent who will be able to assist you further.

    Best regards!

    Sources:
    Resolving Rank Math Schema Markup Related Issues
    How to Remove Date Snippets from Search Results » Rank Math
    How to Change the Date & Time on Your Posts/Pages » Rank Math

    Hello,

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

    Thank you.

    Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to this issue.

    It seems the reason for this error is that the datetime value for “uploadDate” in the Video schema appears to be invalid: https://search.google.com/test/rich-results/result/r%2Fvideos?id=eKYV4XsRCEat1wV6Y3sxZQ

    You can implement the filter code given by the bot above to resolve that Schema error.

    The Yandex meta tags are used to help Yandex understand the content of a video and this data is directly taken from the original video source.

    if you want to remove this meta tag from your pages then you can use the following filter on your website:

    add_filter( 'rank_math/opengraph/facebook/ya_ovs_upload_date', '__return_false');

    Here’s how you can add filter/hook to your WordPress site: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope that helps and please don’t hesitate to let us know if you have any other questions.

    Thank you.

    Laura
    Rank Math pro

    Hi,

    I applied this workaround and it worked for all Youtube videos, However it is not working for Vimeo videos where the problem still persists. Can you advice how to proceed?

    Best regards

    Hello,

    Can you please share sample URLs of pages having videos hosted on Vimeo with that issue for us to investigate?

    We look forward to hearing back from you.

    Thanks.

    Laura
    Rank Math pro

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look 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 7 replies - 1 through 7 (of 7 total)

The ticket ‘video upload_date as the Product update date’ is closed to new replies.