Title: Surbma | Yoast SEO Sitemap to robots.txt
Author: Surbma
Published: <strong>Hút 25, 2017</strong>
Last modified: Hamal 27, 2026

---

Search plugins

![](https://ps.w.org/surbma-yoast-seo-sitemap-to-robotstxt/assets/banner-772x250.
png?rev=2626366)

![](https://s.w.org/plugins/geopattern-icon/surbma-yoast-seo-sitemap-to-robotstxt_888888.
svg)

# Surbma | Yoast SEO Sitemap to robots.txt

 By [Surbma](https://profiles.wordpress.org/surbma/)

[Download](https://downloads.wordpress.org/plugin/surbma-yoast-seo-sitemap-to-robotstxt.2.1.zip)

 * [Details](https://kaa.wordpress.org/plugins/surbma-yoast-seo-sitemap-to-robotstxt/#description)
 * [Reviews](https://kaa.wordpress.org/plugins/surbma-yoast-seo-sitemap-to-robotstxt/#reviews)
 *  [Installation](https://kaa.wordpress.org/plugins/surbma-yoast-seo-sitemap-to-robotstxt/#installation)
 * [Development](https://kaa.wordpress.org/plugins/surbma-yoast-seo-sitemap-to-robotstxt/#developers)

 [Support](https://wordpress.org/support/plugin/surbma-yoast-seo-sitemap-to-robotstxt/)

## Description

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](https://github.com/Surbma/surbma-yoast-seo-sitemap-to-robotstxt)

**You can find my other plugins and projects on GitHub:**

[https://github.com/Surbma](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](https://surbma.com/)

## Installation

 1. Upload `surbma-yoast-seo-sitemap-to-robots-txt` folder to the `/wp-content/plugins/`
    directory
 2. Activate the Surbma | Yoast SEO Sitemap to robots.txt plugin through the ‘Plugins’
    menu in WordPress
 3. That’s it. 🙂

## FAQ

### What is Yoast SEO XML Sitemap?

It is a specially formatted file, that shows all available and enabled links for
your website.

### Why doesn’t Yoast SEO plugin add this sitemap to the robots.txt file?

Good question, but I don’t know the answer.

### What does Surbma mean?

It is the reverse version of my last name. 😉

## Reviews

![](https://secure.gravatar.com/avatar/0372b1f1f1611b9a147fec9cc702745fca107c19ae97e7edacb47ff3d10f1f0a?
s=60&d=retro&r=g)

### 󠀁[Cool!](https://wordpress.org/support/topic/cool-766/)󠁿

 [gore.m](https://profiles.wordpress.org/gorem/) Aqırap 9, 2018 1 reply

Cool thanks you!

![](https://secure.gravatar.com/avatar/03a1ad8481623d0b44156ab86263132a66cd742cc3197df424e48cc3ea0b0875?
s=60&d=retro&r=g)

### 󠀁[Nice code](https://wordpress.org/support/topic/nice-code-2/)󠁿

 [Dima Stefantsov](https://profiles.wordpress.org/dima-stefantsov/) Dáliw 15, 2018

Nice plugin and code. It works.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/surbma-yoast-seo-sitemap-to-robotstxt/reviews/)

## Contributors & Developers

“Surbma | Yoast SEO Sitemap to robots.txt” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Surbma ](https://profiles.wordpress.org/surbma/)
 *   [ CherryPick Studios ](https://profiles.wordpress.org/cherrypickstudios/)

“Surbma | Yoast SEO Sitemap to robots.txt” has been translated into 3 locales. Thank
you to [the translators](https://translate.wordpress.org/projects/wp-plugins/surbma-yoast-seo-sitemap-to-robotstxt/contributors)
for their contributions.

[Translate “Surbma | Yoast SEO Sitemap to robots.txt” into your language.](https://translate.wordpress.org/projects/wp-plugins/surbma-yoast-seo-sitemap-to-robotstxt)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/surbma-yoast-seo-sitemap-to-robotstxt/),
check out the [SVN repository](https://plugins.svn.wordpress.org/surbma-yoast-seo-sitemap-to-robotstxt/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/surbma-yoast-seo-sitemap-to-robotstxt/)
by [RSS](https://plugins.trac.wordpress.org/log/surbma-yoast-seo-sitemap-to-robotstxt/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.1

Release date: 2026-03-27

 * TWEAK – Updated minimum PHP version requirement to 7.4.
 * TWEAK – Tested with WordPress 6.9 version.

#### 2.0

Release date: 2020-02-10

IMPORTANT! Only update if you already updated Yoast SEO plugin to 13.0 or above!
This version will work only with the new version. If you didn’t update the Yoast
SEO plugin yet, you can keep the 1.1 version of this plugin also, it is working 
without any problem.

It is always recommended to use the latest versions of plugins, so please do update
Yoast SEO to 13.0 or above and do the update also for my plugin!

FIX

 * Yoast SEO 13.0 changed the option for XML sitemaps. (Props: @iarovuo)

TWEAK

 * Minor changes in title and description.
 * Tested with WordPress 5.3 version.
 * Updated to use a new way to deploy it to wp.org repo.

#### 1.1

 * Release date: 2019-05-09
 * TWEAK – Minor changes in description.
 * TWEAK – New shorter version numbering.
 * Tested up to WordPress 5.2 version.
 * Tested up to Yoast SEO 11.x version.
 * Added minimum PHP requirement.

#### 1.0.2

 * Minor typo fixes.
 * Tested with WordPress 4.8 version.

#### 1.0.1

 * Minor typo fixes.

#### 1.0.0

 * Initial release.
 * First commit to WordPress repo.

## Commercial plugin

This plugin is free but offers additional paid commercial upgrades or support.

## Meta

 *  Version **2.1**
 *  Last updated **6 ай ago**
 *  Active installations **2'000+**
 *  WordPress version ** 5.1 or higher **
 *  Tested up to **6.9.10**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/surbma-yoast-seo-sitemap-to-robotstxt/),
   [Japanese](https://ja.wordpress.org/plugins/surbma-yoast-seo-sitemap-to-robotstxt/),
   [Swedish](https://sv.wordpress.org/plugins/surbma-yoast-seo-sitemap-to-robotstxt/)
   hám [Ukrainian](https://uk.wordpress.org/plugins/surbma-yoast-seo-sitemap-to-robotstxt/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/surbma-yoast-seo-sitemap-to-robotstxt)
 * Tags
 * [sitemap](https://kaa.wordpress.org/plugins/tags/sitemap/)[wordpress seo](https://kaa.wordpress.org/plugins/tags/wordpress-seo/)
   [xml sitemap](https://kaa.wordpress.org/plugins/tags/xml-sitemap/)[Yoast](https://kaa.wordpress.org/plugins/tags/yoast/)
   [Yoast SEO](https://kaa.wordpress.org/plugins/tags/yoast-seo/)
 *  [Advanced View](https://kaa.wordpress.org/plugins/surbma-yoast-seo-sitemap-to-robotstxt/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/surbma-yoast-seo-sitemap-to-robotstxt/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/surbma-yoast-seo-sitemap-to-robotstxt/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/surbma-yoast-seo-sitemap-to-robotstxt/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/surbma-yoast-seo-sitemap-to-robotstxt/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/surbma-yoast-seo-sitemap-to-robotstxt/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/surbma-yoast-seo-sitemap-to-robotstxt/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/surbma-yoast-seo-sitemap-to-robotstxt/reviews/)

## Contributors

 *   [ Surbma ](https://profiles.wordpress.org/surbma/)
 *   [ CherryPick Studios ](https://profiles.wordpress.org/cherrypickstudios/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/surbma-yoast-seo-sitemap-to-robotstxt/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://surbma.com/donate/)