Hello,
Thank you for contacting Rank Math today.
In order to fix your issue, please make sure to add the Video Schema to the posts you want to include in that sitemap.
Additionaly,
please refer to our KB article regarding video sitemap here:
https://rankmath.com/kb/video-sitemap/ for more details.
I hope that answer your questions.
Let us know if you need more help.
Already added in WP > Rank Math > Sitemap Settings > Video Sitemap
For all custom field with value url video
but video iframe / shortcode called from my custom template, not in the_content
Because i always got blocked when posted my code here,
please check Example code here : https://paiza.io/projects/e/5d-7Pr0P7_DlatTvLmT4ew?theme=twilight
-
This reply was modified 4 years, 1 month ago by Zkylizer. Reason: Add Example Code
I found alternative method create global video schema but when using global templates schema, not detect in video sitemap. but when i manually edit schema directly from posting, video detected in video sitemap.
Hello,
Using your alternative method, is the video schema added to your posts? Could you please share some URLs that we can check from our end using this tool: https://search.google.com/test/rich-results
Also are you using any plugin to process the video shortcodes on your posts/pages
Looking forward to helping you
More bugs ?
download thumbnail create self post url in video-sitemap.xml
for this reply https://support.rankmath.com/ticket/video-sitemap-not-found/#post-106277, for hqdefault solved after update post
i think i prefer using auto detect video method, using added manually schema too many bug for my template
so, any filter to detect my shortcode without placing iframe in the_content ?
after few doing some tests,
i found why my custom field with value youtube url did’t detect, because it only detect when i publish new post, even not detect when i try update post
conculsion =
– need feature rebuild index video from all post
– can’t detect url youtube in custom field repeater
—
then i decide to back using alternative method global template, because my video embed is %url%/embed/%post-id%
not only from youtube
any suggestion to make global template video schema can detect in video-sitemap.xml ?
If you go to the list of posts, bulk edit all posts just to, for example, allow comments, the video sitemap will update with the videos of all these edited posts. Apart from the need to edit article by article.
Hello,
Thank you @Kevin for the input.
@Zkylizer, you should also update to the latest version of Rank math and clear your site cache
Let us know if your issue is resolved.
Looking forward to helping you. Thank you.
bulk edit takes a long time, my site has 40k ++ posts
i will closed this ticket already oot from first question, will create new one.
https://support.rankmath.com/ticket/how-to-create-video-sitemap-on-the-fly/
Hello,
If you need further help or with anything else, please open a new support ticket here so we can help:
https://support.rankmath.com
We are always here for assistance.