Skip to main content
Agency Program 50% cashback. 10% commissions. Priority support. Built for growing agencies. 50% cashback for agencies Speak to the team Join free
Virtual Robots.txt icon

Virtual Robots.txt

v1.10
by Marios Alexandrou · 4.2 (9 reviews)

Virtual Robots.txt automatically creates a robots.txt file for your site. Your robots.txt file can be easily edited from the plugin settings page.

50K+ active installs Updated Oct 28, 2024 Tested to 6.7.2
Try Demo Download
Pre-installed Ready in ~10s No card
Virtual Robots.txt

About Virtual Robots.txt

Virtual Robots.txt is a simple plugin that automatically creates and manages a robots.txt file for your website. It allows access to the necessary parts of WordPress for search engine bots, while blocking other parts. If you have an XML sitemap, the plugin will automatically add a reference to it in your robots.txt file.

Frequently asked questions

What is Virtual Robots.txt?
Virtual Robots.txt is an easy (i.e. automated) solution to creating and managing a robots.txt file for your site. Instead of mucking about with FTP, files, permissions ..etc, just upload and activate the plugin and you're done.
What does the Virtual Robots.txt plugin do by default?
By default, the Virtual Robots.txt plugin allows access to the parts of WordPress that good bots like Google need to access. Other parts are blocked.
Does the Virtual Robots.txt plugin automatically add a reference to an existing XML sitemap file?
If the plugin detects an existing XML sitemap file, a reference to it will be automatically added to your robots.txt file.

Changelog

1.10

  • Fix to prevent the saving of HTML tags within the robots.txt form field. Thanks to TrustWave for identifying this issue.

1.9

  • Fix for PHP 7. Thanks to SharmPRO.

1.8

  • Undoing last fixes as they had unintended side-effects.

1.7

  • Further fixes to issue with newlines being removed. Thanks to FAMC for reporting and for providing the code fix.
  • After upgrading, visit and re-save your settings and confirm they look correct.

1.6

  • Fixed bug where newlines were being removed. Thanks to FAMC for reporting.

1.5

  • Fixed bug where plugin assumed robots.txt would be at http when it may reside at https. Thanks to jeffmcneill for reporting.

1.4

  • Fixed bug for link to robots.txt that didn’t adjust for sub-folder installations of WordPress.
  • Updated default robots.txt directives to match latest practices for WordPress.
  • Plugin development and support transferred to Marios Alexandrou.

1.3

  • Now uses do_robots hook and checks for is_robots() in plugin action.

1.2

  • Added support for existing sitemap.xml.gz file.

1.1

  • Added link to settings page, option to delete settings.

1.0

  • Initial release.

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…