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

---

Cari plugin

![](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

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

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

 * [Detail](https://id.wordpress.org/plugins/pc-robotstxt/#description)
 * [Ulasan](https://id.wordpress.org/plugins/pc-robotstxt/#reviews)
 *  [Instalasi](https://id.wordpress.org/plugins/pc-robotstxt/#installation)
 * [Pengembangan](https://id.wordpress.org/plugins/pc-robotstxt/#developers)

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

## Deskripsi

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.

## Instalasi

 1. Upload pc-robotstxt folder to the `/wp-content/plugins/` directory
 2. Aktifkan plugin melalui menu ‘Plugins’ di 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.

## Tanya Jawab

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

## Ulasan

![](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 Januari 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 September 2023 4 balasan

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 September 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 November 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 Maret 2018 1 balasan

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 Maret 2017

It was good

 [ Baca semua 10 ulasan ](https://wordpress.org/support/plugin/pc-robotstxt/reviews/)

## Kontributor & Pengembang

“Virtual Robots.txt” adalah perangkat lunak open source. Berikut ini mereka yang
sudah berkontribusi pada plugin ini.

Kontributor

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

“Virtual Robots.txt” telah diterjemahkan dalam 1 bahasa. Terima kasih kepada [para penerjemah](https://translate.wordpress.org/projects/wp-plugins/pc-robotstxt/contributors)
untuk kontribusi-nya.

[Terjemahkan “Virtual Robots.txt” dalam bahasa Anda.](https://translate.wordpress.org/projects/wp-plugins/pc-robotstxt)

### Tertarik mengembangkan?

[Lihat kode](https://plugins.trac.wordpress.org/browser/pc-robotstxt/), periksa 
[repositori SVN ](https://plugins.svn.wordpress.org/pc-robotstxt/), atau mendaftar
ke [log pengembangan](https://plugins.trac.wordpress.org/log/pc-robotstxt/) melalui
[RSS](https://plugins.trac.wordpress.org/log/pc-robotstxt/?limit=100&mode=stop_on_copy&format=rss).

## Log Perubahan

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

 *  Versi **1.10**
 *  Diperbarui **5 bulan yang lalu**
 *  Instalasi Aktif **40,000+**
 *  Versi WordPress ** 5.0 atau yang terbaru **
 *  Diuji hingga **6.9.4**
 *  Bahasa
 * [English (US)](https://wordpress.org/plugins/pc-robotstxt/) dan [Swedish](https://sv.wordpress.org/plugins/pc-robotstxt/).
 *  [Terjemahkan dalam bahasa Anda](https://translate.wordpress.org/projects/wp-plugins/pc-robotstxt)
 * Tag
 * [robots](https://id.wordpress.org/plugins/tags/robots/)[robots.txt](https://id.wordpress.org/plugins/tags/robots-txt/)
 *  [Tampilan lanjut](https://id.wordpress.org/plugins/pc-robotstxt/advanced/)

## Rating

 4.3 dari 5 bintang.

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

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

[Lihat semua ulasan](https://wordpress.org/support/plugin/pc-robotstxt/reviews/)

## Kontributor

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

## Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

 [Lihat forum bantuan](https://wordpress.org/support/plugin/pc-robotstxt/)

## Donasi

Apakah Anda ingin mendukung pengembangan plugin ini?

 [ Donasi untuk plugin ini ](https://infolific.com/technology/software-worth-using/robots-txt-plugin-for-wordpress)