Surbma – Yoast SEO Sitemap to robots.txt

plugin banner

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

Author:Surbma (profile at wordpress.org)
WordPress version required:5.1
WordPress version tested:6.2
Plugin version:2.0
Added to WordPress repository:25-02-2017
Last updated:08-04-2023
Rating, %:100
Rated by:2
Plugin URI:https://surbma.com/wordpress-plugins/
Total downloads:28 704
Active installs:3 000+
plugin download
Click to start download

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


FAQ
ChangeLog