-
Hi,
I assigned a video schema to the videos, But all the video schema url links in Google Webmaster have 3 errors!Missing field “thumbnailUrl”
Missing field “uploadDate”
Either “contentUrl” or “embedUrl” should be specified (optional)
nameI serching the problem, and read completely the instructions, but there is no explanation for it!
if there is any solution, please guide me.
Thanks and regards
-
More information about ticket:
If I open the video posts one by one and fill the schema: “thumbnailUrl” – “uploadDate” – “contentUrl” – “embedUrl” fields, the problem is solved…!
but i have more than 15 thousand video posts and open and filling the shema fields one by one is realy not possible for me!
Please guide me if there is any solution to fix this problem.
Thanks & regardsHello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
Can you please confirm if you’ve manually added the Video Schema by using the Rank Math Schema Generator? However, in the PRO version of the Rank Math plugin, we have the Autodetect Video and the Autogenerate Image options which help to automatically generate the video schema with these fields:
https://rankmath.com/kb/auto-detect-and-fetch-video-data/#num-1-2-autodetect-video-pro
https://rankmath.com/kb/auto-detect-and-fetch-video-data/#num-1-3-autogenerate-image-proIn the free version of the Rank Math plugin, you’ll have to add those fields manually to resolve those issues. However, for the Missing field “thumbnailUrl” error, you can add featured images on your pages to resolve this issue.
Hope that helps and please don’t hesitate to let us know if you have any other questions.
Thank you.Hi, thanks for reply to answer
I actualy use (featured-image-from-url) wp plugin for featured post images and the “fifu_image_url” is thumbnail image metakey in database. Please tell me how I can set the schema rankmath to read “fifu_image_url” metakey instead of “thumbnailUrl” schema meta.Hi, thanks for reply to answer
I actualy use (featured-image-from-url) wp plugin for featured post images and the “fifu_image_url” is thumbnail image metakey in database. Please tell me how I can set the schema rankmath to read “fifu_image_url” metakey instead of “thumbnailUrl” schema meta.Hello,
In this case, can you please try adding this custom code to your website to see if it works? You can learn how to add the code here: https://rankmath.com/kb/wordpress-hooks-actions-filters/
// Add this code to your rank-math.php file in your theme folder // This filter will modify the thumbnailURL for the video schema add_filter( 'rank_math/snippet/rich_snippet_video_entity', 'fifu_video_schema', 10, 2 ); // This function will replace the thumbnailUrl with the fifu_image_url meta value function fifu_video_schema( $entity, $data ) { // Get the post ID $post_id = $data['post']->ID; // Get the fifu_image_url meta value $fifu_image_url = get_post_meta( $post_id, 'fifu_image_url', true ); // If the meta value exists, use it as the image URL if ( $fifu_image_url ) { $entity['thumbnailUrl'] = $fifu_image_url; } // Return the modified entity return $entity; }
We hope this helps you resolve the issue. If you have any other questions or concerns regarding Rank Math, please feel free to contact us again. We are always happy to help.
Thank you for choosing Rank Math!
Hello, Thank you for your response and support
but unfortunately, I executed the code (According to the instructions) your code snippet and it did not work, the problem was not solved!
When I before used the Yoast plugin, these errors did not exist ! since I used and activated the RankMath plugin, these errors have appeared. so please give me a right solution to fix schema error: “thumbnailUrl” – “uploadDate” – “embedUrl”
thanks agian & regardsHello,
To help you investigate this issue, we might need to take a closer look at your website and settings. Please follow these steps:
- Edit the first post on this ticket and include your WordPress and FTP logins in the Sensitive Data section. This is a secure section that only our support staff can access.
- Make sure you take a complete backup of your website before sharing the information with us.
- If you prefer, you can use this 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 also use this plugin to monitor what changes our staff might make on your website (if any): https://wordpress.org/plugins/wp-security-audit-log/
We appreciate your cooperation and patience. Thank you for choosing Rank Math.
Hi, Finally errors are fixed and the problem was solved!
Of course by restoring Yoast SEO plugin setting. 😂
I don’t give access my website to anyone, not even Rankmath SEO staffs!
goodluck - Edit the first post on this ticket and include your WordPress and FTP logins in the Sensitive Data section. This is a secure section that only our support staff can access.
You must be logged in to reply to this ticket.