How Can I Optimize My Website’s Videos Using Magento 2 SEO?

Side view of young female in casual clothes typing message on laptop while sitting at wooden table in kitchen

As video content continues to dominate the digital realm, optimizing videos on your website is crucial for improved visibility and engagement. Magento 2 SEO offers multiple options to optimize your website’s video content, including video sitemaps, schema markup, and structured data. Here’s how you can optimize videos on your Magento 2 website.

Speed Up Your Magento Store by 300%

Use Video Sitemaps

A video sitemap is an XML file that provides search engines with a structured list of all the videos on a website. Magento 2 allows users to generate this file easily. To do this, navigate to your Magento 2 Admin panel and select ‘Stores’ > ‘Configuration’ > ‘Catalog’ > ‘XML Sitemap.’ Here, you can enable the ‘Video Sitemap’ option, and Magento 2 will generate a sitemap that includes all videos in your catalog.

Using video sitemaps increases visibility, as search engines can identify what videos you have available. By clicking on a specific video, the user will be directed to the page on your site containing the video.

Include Schema Markup

Schema markup is a type of structured data that helps search engines index your website. Using schema markup in your video content can be beneficial, as it provides specific information about the video, such as its duration, title, description, and thumbnail.

To include schema markup on your Magento 2 website, navigate to ‘Products’ > ‘Catalog’ > ‘Edit Product’ and scroll down to ‘Search Engine Optimization.’ In this section, you can find the ‘ Data’ option, and select ‘VideoObject.’ From there, you can enter information about the video, including the title, description, duration, and thumbnail.

Including schema markup helps search engines understand the video content, making it more likely to appear in search results.

Use Structured Data

Structured data is another form of schema markup that helps search engines understand your website’s overall content structure. Using structured data on your video content improves visibility and engagement, as it provides detailed information about the video, such as its duration and release date.

To use structured data on your Magento 2 website, navigate to ‘Content’ > ‘Pages’ > ‘Edit’ and scroll down to ‘Layout Update XML.’ Here, you can add structured data to any page containing video content. This will ensure that search engines understand the video content and will index it accordingly.

Optimize Video Metadata

Optimizing video metadata is crucial for improving visibility, as it provides search engines with detailed information about the video content. Magento 2 allows users to customize metadata, including title, description, and thumbnail.

To optimize video metadata, navigate to ‘Content’ > ‘Pages’ > ‘Edit’ and scroll down to the ‘Video’ section. Here, you can enter a title and description for your video content, along with a thumbnail image. Optimizing video metadata improves visibility, as search engines can display a more accurate representation of your video content in search results.


Optimizing video content on your Magento 2 website can vastly improve visibility and engagement, leading to increased traffic and conversions. Incorporating video sitemaps, schema markup, structured data, and optimizing video metadata are all effective ways to improve your website’s video content. By following these optimization tips, you can create a more engaging and user-friendly website.

Scroll to Top