WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Surbma v2.1

Surbma

Adds Yoast SEO generated XML Sitemap to the virtual robots.txt file.

Surbma

The facts

Rating
5★ from 2
Active installs
2k+
Price
Free
Last updated
27 Mar 2026
Added
Feb 2017
Requires WP
5.1
Tested up to
WP 6.9.7
Requires PHP
7.4
Downloads
36,383

Our analysis

AI-assisted

Surbma | Yoast SEO Sitemap to robots.txt is a WordPress plugin that integrates the XML sitemap generated by the Yoast SEO plugin into the virtual robots.txt file. This helps search bots, including Google, to easily find and crawl your sitemap, which is an important step for SEO.

The plugin is designed for use with WordPress installations that have the Yoast SEO plugin activated. It also supports Multisite installations, ensuring that the correct sitemap URL is added for each subsite, provided the XML sitemap is enabled.

Best for: This plugin suits WordPress users who utilize the Yoast SEO plugin and want to enhance their site's SEO visibility.

What it does well

  • Integrates Yoast SEO sitemap into robots.txt
  • Helps search bots find your sitemap
  • Supports Multisite installations
  • Checks for Yoast SEO activation and XML sitemap status

Where it falls short

  • Limited information available about additional features

Verdict

This plugin provides a straightforward solution for adding a sitemap to the robots.txt file, which can improve SEO for users of Yoast SEO. It is particularly useful for those managing multiple sites in a Multisite setup.

From the developer

Surbma's own description of Surbma, lightly tidied.

A missing feature from Yoast SEO plugin. This is a very important SEO step to add your sitemap to the robots.txt, as a lot of bots (Google also) automatically search for sitemaps in the robots.txt file.

If you don’t have a separate robots.txt file on the server, than WordPress automatically generates a virtual robots.txt file with the necessary directives.

This plugin will add the Yoast SEO plugin’s XML Sitemap URL to the virtual robots.txt file, so search bots will find your sitemap and can crawl your site easily.

Multisite Network installs

This plugin is also working on Multisite installs, adding the right sitemap for all your subsites. The plugin checks, if Yoast SEO plugin is activated and if the XML Sitemap is enabled on the sites, so it will add the sitemap URL only, if the sitemap exists.

Do you want to contribute or help improving this plugin?

You can find it on GitHub: https://github.com/Surbma/surbma-yoast-seo-sitemap-to-robotstxt

You can find my other plugins and projects on GitHub:

https://github.com/Surbma

Please feel free to contribute, help or recommend any new features for my plugins, themes and other projects.

Do you want to know more about me?

Visit my webpage: Surbma.com

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for indexing control.

Yoast SEO

Real-time SEO guidance, schema, and AI built in. Help search engines and AI systems understand your content. A...

Free 10M+ installs 4.8★ (27,819)
Rank Math SEO

Grow your organic traffic and AI visibility with powerful SEO tools, XML sitemaps, Schema automation, and buil...

Free 4M+ installs 4.8★ (7,496)
All in One SEO

AIOSEO is the WordPress SEO plugin. Boost SEO rankings with AI SEO tools, schema, meta descriptions, XML sitem...

Free 2M+ installs 4.7★ (5,201)
SEOPress

WordPress SEO plugin with AI SEO metadata, schema, XML sitemap, redirections & Search Console. Privacy-fir...

Free 300k+ installs 4.8★ (1,246)
SureRank SEO

Lightweight SEO assistant for meta tags, schema and structured data, XML sitemaps, Open Graph previews, robots...

Free 400k+ installs 4.8★ (41)