Title: Virtual Robots.txt
Author: Marios Alexandrou
Published: <strong>13 de junio de 2009</strong>
Last modified: 29 de diciembre de 2025

---

Buscar plugins

![](https://ps.w.org/pc-robotstxt/assets/banner-772x250.png?rev=1391109)

![](https://ps.w.org/pc-robotstxt/assets/icon-256x256.png?rev=1391109)

# Virtual Robots.txt

 Por [Marios Alexandrou](https://profiles.wordpress.org/marios-alexandrou/)

[Descargar](https://downloads.wordpress.org/plugin/pc-robotstxt.zip)

 * [Detalles](https://es-ec.wordpress.org/plugins/pc-robotstxt/#description)
 * [Valoraciones](https://es-ec.wordpress.org/plugins/pc-robotstxt/#reviews)
 *  [Instalación](https://es-ec.wordpress.org/plugins/pc-robotstxt/#installation)
 * [Desarrollo](https://es-ec.wordpress.org/plugins/pc-robotstxt/#developers)

 [Soporte](https://wordpress.org/support/plugin/pc-robotstxt/)

## Descripción

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.

## Instalación

 1. Upload pc-robotstxt folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Once you have the plugin installed and activated, you’ll see a new Robots.txt menu
    link under the Settings menu. Click that menu link to see the plugin settings page.
    From there you can edit the contents of your robots.txt file.

## FAQ

### 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.

## Reseñas

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

### 󠀁[This plugin is working great for me](https://wordpress.org/support/topic/this-plugin-is-working-great-for-me/)󠁿

 [commexjimmy](https://profiles.wordpress.org/commejimmy/) 17 de enero de 2026

I have used this plugin for many years and never had a problem with it. So with 
that said, I do highly recommend it.

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

### 󠀁[Doesn’t seem to work as described](https://wordpress.org/support/topic/doesnt-seem-to-work-as-described/)󠁿

 [treysuttle](https://profiles.wordpress.org/treysuttle/) 19 de septiembre de 2023
4 replies

I had an issue that I believed was being caused by the plugin but the plugin author
was very quick to help and clear up the issue. Great and helpful customer service–
thanks!

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

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-2826/)󠁿

 [Denis Creative](https://profiles.wordpress.org/denis-creative/) 30 de septiembre
de 2021

Simple and easy. Works perfectly.

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

### 󠀁[Great plugin!](https://wordpress.org/support/topic/great-plugin-19917/)󠁿

 [yorgosx](https://profiles.wordpress.org/yorgosx/) 23 de noviembre de 2018

Works great and easy to use and customise. It already set by default the directories
that need to be left out of Search Engines scanning/indexing… Very happy with it!

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

### 󠀁[It wasn’t what I expected.](https://wordpress.org/support/topic/it-wasnt-what-i-expected/)󠁿

 [Josh Gellock](https://profiles.wordpress.org/joshuagellock/) 18 de marzo de 2018
1 reply

What I saw wasn’t what I got. The XML sitemap wasn’t included in the robots.txt 
file, even thought this was described as a feature that should work out of the box.
In addition to that, upon installing this plugin, it blocked certain directories
without asking. Lastly, it inserts a line at the top of the file, promoting the 
plugin. That should be an optional feature that users are empowered to turn off.
All in all, it offers the functionality, but falls short and disappoints in other
areas.

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

### 󠀁[A good plugin](https://wordpress.org/support/topic/a-good-plugin-28/)󠁿

 [mm1379](https://profiles.wordpress.org/mm1379/) 23 de marzo de 2017

It was good

 [ Leer todas las 10 reseñas ](https://wordpress.org/support/plugin/pc-robotstxt/reviews/)

## Colaboradores y desarrolladores

«Virtual Robots.txt» es un software de código abierto. Las siguientes personas han
colaborado con este plugin.

Colaboradores

 *   [ Marios Alexandrou ](https://profiles.wordpress.org/marios-alexandrou/)

«Virtual Robots.txt» ha sido traducido a 1 idioma local. Gracias a [los traductores](https://translate.wordpress.org/projects/wp-plugins/pc-robotstxt/contributors)
por sus contribuciones.

[Traduce «Virtual Robots.txt» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/pc-robotstxt)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/pc-robotstxt/) , echa
un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/pc-robotstxt/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/pc-robotstxt/)
por [RSS](https://plugins.trac.wordpress.org/log/pc-robotstxt/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 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.

## Meta

 *  Version **1.10**
 *  Last updated **hace 5 meses**
 *  Active installations **40.000+**
 *  WordPress version ** 5.0 o superior **
 *  Tested up to **6.9.4**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/pc-robotstxt/) y [Swedish](https://sv.wordpress.org/plugins/pc-robotstxt/).
 *  [Traducir a tu idioma](https://translate.wordpress.org/projects/wp-plugins/pc-robotstxt)
 * Tags
 * [robots](https://es-ec.wordpress.org/plugins/tags/robots/)[robots.txt](https://es-ec.wordpress.org/plugins/tags/robots-txt/)
 *  [Vista avanzada](https://es-ec.wordpress.org/plugins/pc-robotstxt/advanced/)

## Valoraciones

 4.3 out of 5 stars.

 *  [  8 5-star reviews     ](https://wordpress.org/support/plugin/pc-robotstxt/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/pc-robotstxt/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/pc-robotstxt/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/pc-robotstxt/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/pc-robotstxt/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/pc-robotstxt/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/pc-robotstxt/reviews/)

## Colaboradores

 *   [ Marios Alexandrou ](https://profiles.wordpress.org/marios-alexandrou/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/pc-robotstxt/)

## Donar

¿Te gustaría apoyar el progreso de este plugin?

 [ Dona a este plugin ](https://infolific.com/technology/software-worth-using/robots-txt-plugin-for-wordpress)