Skip to content Skip to navigation
Back to the main support

Enable Video XML sitemap

Go to SEO, XML / HTML Sitemap.

Check Enable XML Video Sitemaps and Save changes.

You can view your xml Video sitemap by clicking on the button View your sitemap from XML sitemap page, then click on the last link https://example.com/video1.xml/.

Or, by typing, https://example.com/video1.xml/ in your browser.

Manually add videos to your XML sitemap

Now, you have to add videos to your sitemap.

To do that, edit a post, page or post type.

In SEO metabox, Video sitemap tab, click on the first Video accordion.

Fill in all the fields to describe your video for Google.

Video URL, Video title, Video description and Video thumbnail are required.

Your video will NOT be added to your sitemap if:

  • Exclude this post from Video Sitemap? is checked
  • the post is set to noindex in Advanced tab
  • the Video URL field is empty

You can unlimited number of videos per post, BUT, don’t cheat with Google, it will know it!

Automatically add YouTube videos to your XML sitemap

Since version 5.7 of SEOPress PRO, YouTube videos are automatically added when you create / save a post, page or post type.

Go to SEO, Tools, Video sitemap tab to regenerate the video sitemap if some YouTube videos are missing.

By default, we use the post content field to find new videos. If you want to add other fields like custom fields (ie post metas), we have a hook for that!