1. Home
  2. Blog
  3. Search Engine Optimization (SEO)

Get WordPress Videos and Images Into Search With Video and Image Sitemaps

Most WordPress sites treat the sitemap as a list of pages and stop there. But search has more than one results page. Image search and video results are separate surfaces with their own traffic, and a recipe video or a product photo can be found there by people who would never have reached your page through a normal blue link.

This guide covers the media side of sitemaps in Rankify: the image entries that come free with your standard sitemap, the WordPress video sitemap in Pro, the Google News sitemap and who should leave it off, and how to check that search engines are actually reading all of it.

What Rankify generates by default

Under Rankify > Settings > Sitemaps, the XML Sitemap setting is on from the start. It generates a paginated sitemap index at /sitemap.xml, split per post type and taxonomy, which stays current automatically. It also replaces the core WordPress sitemap, so you do not end up with two.

Three more settings on the same tab decide how much media information goes in:

SettingDefaultVersionWhat it adds
Include ImagesOnFreeThe featured image and images in the content, so they can appear in image search
Video SitemapOffProVideos detected in your content, with duration, thumbnail and description, so they can appear in video results
News SitemapOffProA Google News sitemap for articles from the last 48 hours

Each one serves a different kind of site, so it is worth deciding on them one at a time rather than switching everything on.

Image entries: on by default, worth keeping

With Include Images on, Rankify lists each post’s featured image and the images inside its content alongside the page itself. For a search engine, that is a direct statement of which images belong to which page, rather than something it has to work out while crawling.

This matters most for sites where images are the content, or close to it:

  • Stores, where product photos are often the first thing a shopper searches for.
  • Recipe, travel and craft sites, where people search visually.
  • Portfolios and photography sites.
  • Tutorials with screenshots that answer a question on their own.

There is little reason to turn it off. It does not create extra pages, it only adds information to the page entries you already have.

Images need words too

A sitemap tells a search engine an image exists. It does not tell it what the image shows. That still comes from the page: the alt text, the surrounding text and the file itself. Write alt text that describes the image plainly. If you have a back catalogue of images with empty alt attributes, Generatify can fill the empty ones with an image recognition model that runs in the browser, and it never replaces alt text you wrote yourself. Review important images by hand, because recognition describes what is in the picture, not what it means in context.

Do not confuse this with media pages

WordPress can also create an attachment page for every uploaded file: one page per image, containing the image and nothing else. Rankify calls these media pages and keeps them off by default. Its docs describe them as thin duplicates of an image and recommend leaving them disabled for nearly every site.

Image entries in the sitemap are different. They attach images to the real pages they appear on, which is where you want the search traffic to land anyway.

The video sitemap: for sites that publish video

The Video Sitemap setting is Pro and off by default. When you turn it on, Rankify detects videos in your content and publishes a video sitemap with duration, thumbnail and description for each, so they can appear in video results.

The Rankify quickstart gives the decision rule in one line: enable it only if you actually publish video. If your posts occasionally embed someone else’s clip, a video sitemap adds little. If video is a regular part of what you publish, it is the setting that puts those videos in front of search engines with the details video results need.

Good candidates:

  • Course and tutorial sites where each lesson has a video.
  • Recipe sites with step-by-step clips.
  • Product pages with demo videos.
  • Agencies and creators publishing case study or showreel pages.
  • Publishers with regular video segments.

Make each video page worth showing

A sitemap entry gets a video noticed. Whether it is shown depends on the page. A few habits help:

  1. Give the video a page of its own where it matters. A page that is clearly about the video, with the player near the top, is easier for a search engine to treat as a video result than a long article with a clip halfway down.
  2. Write a real title and description. The page title and the text around the video are what people read in results. “Video 3” tells nobody anything.
  3. Use a clear thumbnail. It is the image people see before they click.
  4. Keep the page indexable. A video on a noindexed page will not show up in video results, whatever the sitemap says.

The news sitemap: only for news publishers

The News Sitemap setting publishes a Google News sitemap covering articles from the last 48 hours. It is Pro and off by default.

The docs are clear about when it helps: only for sites approved in Google News. Enabling it without that does nothing. If you run a blog, a store or a business site, leave it off. If you run a news publication that Google News already includes, it is the sitemap that keeps your latest stories in front of it quickly.

What Rankify leaves out, and why that helps

A sitemap is a list of pages you want indexed, not an inventory of every URL. Rankify’s docs put it this way: leaving out tag archives and date archives makes it a stronger signal, not a weaker one.

Two settings keep the list clean without any extra work:

  • Noindexed Content defaults to “Leave it out”. Listing a page you have told search engines not to index sends a contradictory signal, which the docs call one of the most common mistakes in SEO configuration.
  • Content Types drives the sitemap automatically. Any post type, taxonomy or special page set to noindex or disabled on the Content Types tab is left out of the sitemap. You never have to keep two lists in agreement.

Search result pages are always noindexed and cannot be changed, because their URL space is infinite. Media pages are disabled by default. Together that keeps your image and video entries attached to pages that are actually meant to rank.

Sitemaps and schema work together

A sitemap says what exists. Structured data says what it is. Rankify outputs one connected JSON-LD graph for the site, posts, pages and authors, and with Pro its Advanced Schema Types add per-post schema for types such as Article, Product, Recipe, Event, FAQ, How-To, Course and Job Posting, with the fields each type needs.

That pairing matters for media-heavy pages. A recipe page with a clip benefits from both: the video sitemap tells search engines the video exists, and Recipe markup makes the page eligible for recipe rich results with cook time and ratings. The same goes for a product page with a demo video and Product markup. Neither replaces the other.

One more thing to rule out while you are here: make sure no rule in your robots.txt blocks the folders your images and videos are served from. Rankify’s Served Output preview shows exactly what your robots.txt returns right now, so it takes a few seconds to check.

Check your work

Generating a sitemap tells nobody it exists. This is the most skipped step, and Rankify’s docs repeat it on three different pages for a reason.

  1. Open the sitemap. Visit https://example.com/sitemap.xml. You should see an index linking to one file per type.
  2. Open robots.txt. Visit https://example.com/robots.txt. Rankify’s generated file references your sitemap.
  3. Submit it. Add https://example.com/sitemap.xml in Google Search Console and Bing Webmaster Tools. Verify each property first using the codes under Rankify > Settings > General > Site Verification. Bing also feeds several AI assistants, so it matters more than it used to.
  4. Watch what is indexed. Search Console reports what it actually indexed, which is the number that matters rather than what you listed. After enabling the video sitemap, give it time to recrawl before judging the results.

If something does not show up

Rankify’s troubleshooting guide covers the usual causes:

ProblemWhat to check
The sitemap is empty or returns a 404Permalinks. On Settings > Permalinks, anything other than Plain works. Then check at least one post type is selected and not all of them are noindexed
robots.txt changes have no effectA physical robots.txt file in your site root always wins over the one WordPress serves
A page is not indexedIts content type’s noindex setting, robots.txt, whether it is in the sitemap, whether the sitemap is submitted, then Search Console’s URL Inspection
Images or videos missingWhether the page they sit on is indexable and included in the sitemap

Then wait. Indexing takes days to weeks, and new sites take longer.

For peace of mind, turn on Email when something is badly wrong under Rankify’s notifications. It tells you if the site starts blocking search engines or the sitemap stops being served, at most once a week, and stays silent once the problem is fixed.

Which settings to use

Your siteInclude ImagesVideo SitemapNews Sitemap
Blog or business siteOnOffOff
StoreOnOn if product pages have demo videosOff
Course or tutorial siteOnOnOff
Recipe or how-to siteOnOn if you publish clipsOff
News publisher in Google NewsOnOn if you publish videoOn

Where this sits in Rankify

The paginated sitemap index, image entries, noindex exclusions, the robots.txt editor and site verification are all in free Rankify. The video and news sitemaps are Pro. If your license ever lapses, nothing is deleted, and the free features, including your sitemap, carry on. Pro comes with every other DaftPlug plugin under one membership. See pricing.

Before you add media entries, make sure the page list itself is clean. We covered that in keeping noindexed pages out of your WordPress XML sitemaps.