How to change the XML video sitemap URL
You can change the XML video sitemap URL by following the steps described below. Do you have a different question regarding the Video SEO plugin? Check our Video SEO FAQ.
- Disable all sitemaps
- Add the following filter in your theme’s functions.php file
Add the following code:
define ('YOAST_VIDEO_SITEMAP_BASENAME', 'vsvideo');
. You can replacevsvideo
with your preferred choice. - Enable the sitemap feature
- You’ve now created one XML sitemap for the video custom post type and one XML sitemap formatted to meet video sitemap guidelines
Did this article answer your question?
Thanks for your feedback!