sandywp / plugins / pc-robotstxt
Virtual Robots.txt
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.
Ready in seconds.
v1.10 40,000+ installs WP 5.0+

About this plugin
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.
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.
If the plugin detects an existing XML sitemap file, a reference to it will be automatically added to your robots.txt file.
Questions
- Will it conflict with an existing robots.txt file?
If a physical robots.txt file exists on your site, WordPress won’t process any request for one, so there will be no conflict.
- Will this work for sub-folder installations of WordPress?
Out of the box, no. Because WordPress is in a sub-folder, it won’t “know” when someone is requesting the robots.txt file which must be at the root of the site.
- Does this plugin modify individual posts, pages, or categories?
No it doesn’t.
- Why does the default plugin block certain files and folders?
By default, the virtual robots.txt is set to block WordPress files and folders that don’t need to be accessed by search engines. Of course, if you disagree with the defaults, you can easily change them.
sandywp / also on the shelf
Try another plugin
4.4 · 100K+ installs
Take control of your WordPress core XML Sitemap and add a Google News Sitemap.
5.0 · 40K+ installs
WP Robots Txt Allows you to edit the content of your robots.txt file.
4.8 · 10K+ installs
Adds a custom set of <meta> tags to the <head> section of all posts & pages.
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.