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.

  1. Disable all sitemaps

  2. Add the following filter in your theme’s functions.php file

    Add the following code: define ('YOAST_VIDEO_SITEMAP_BASENAME', 'vsvideo');. You can replace vsvideo with your preferred choice.

  3. Enable the sitemap feature

  4. 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!

Get free SEO tips!