Title: Disable XML-RPC
Author: Phil Erb
Published: <strong>28 setembro, 2012</strong>
Last modified: 27 maio, 2026

---

Pesquisar plugins

![](https://s.w.org/plugins/geopattern-icon/disable-xml-rpc.svg)

# Disable XML-RPC

 Por [Phil Erb](https://profiles.wordpress.org/philerb/)

[Baixar](https://downloads.wordpress.org/plugin/disable-xml-rpc.1.0.1.zip)

 * [Detalhes](https://br.wordpress.org/plugins/disable-xml-rpc/#description)
 * [Avaliações](https://br.wordpress.org/plugins/disable-xml-rpc/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/disable-xml-rpc/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/disable-xml-rpc/#developers)

 [Suporte](https://wordpress.org/support/plugin/disable-xml-rpc/)

## Descrição

Pretty simply, this plugin uses the built-in WordPress filter “xmlrpc_enabled” to
disable the XML-RPC API on a WordPress site running 3.5 or above.

Beginning in 3.5, XML-RPC is enabled by default. Additionally, the option to disable/
enable XML-RPC was removed. For various reasons, site owners may wish to disable
this functionality. This plugin provides an easy way to do so.

## Capturas de tela

[⌊An example of the error that the WordPress mobile app will return when this plugin
is enabled. This is expected and indicates that the plugin is working as intended.⌉⌊
An example of the error that the WordPress mobile app will return when this plugin
is enabled. This is expected and indicates that the plugin is working as intended
.⌉[

An example of the error that the WordPress mobile app will return when this plugin
is enabled. This is expected and indicates that the plugin is working as intended.

[⌊An example of a curl command attempting to request data via XML-RPC calls to the
site when the plugin is enabled. The error "XML-RPC services are disabled on this
site" is expected and indicates that the plugin is working as intended.⌉⌊An example
of a curl command attempting to request data via XML-RPC calls to the site when 
the plugin is enabled. The error "XML-RPC services are disabled on this site" is
expected and indicates that the plugin is working as intended.⌉[

An example of a curl command attempting to request data via XML-RPC calls to the
site when the plugin is enabled. The error “XML-RPC services are disabled on this
site” is expected and indicates that the plugin is working as intended.

[⌊An example of the XML-RPC validator run against the site when the plugin is enabled.
The error "Method not allowed" is expected and indicates that the plugin is working
as intended.⌉⌊An example of the XML-RPC validator run against the site when the 
plugin is enabled. The error "Method not allowed" is expected and indicates that
the plugin is working as intended.⌉[

An example of the XML-RPC validator run against the site when the plugin is enabled.
The error “Method not allowed” is expected and indicates that the plugin is working
as intended.

## Instalação

 1. Upload the disable-xml-rpc directory to the `/wp-content/plugins/` directory in
    your WordPress installation
 2. Ative o plugin por meio do menu “Plugins” no WordPress
 3. The WordPress XML-RPC methods are now disabled!

To re-enable XML-RPC, just deactivate the plugin through the ‘Plugins’ menu.

View the FAQ about “How do I know if the plugin is working?” to verify that this
is working as intended.

## Perguntas frequentes

### Is there an admin interface for this plugin?

No. This plugin is as simple as XML-RPC is off (plugin activated) or XML-RPC is 
on (plugin is deactivated).

### How do I know if the plugin is working?

There are a few easy methods for checking if XML-RPC is off:

 1. Try using an XML-RPC WordPress client, like the official WordPress mobile apps.
    The WordPress mobile app should tell you that “XML-RPC services are disabled on
    this site” if the plugin is activated.
 2. Use the curl command to send an XML-RPC request to your site. If the response contains“
    XML-RPC services are disabled on this site” then the plugin is working properly
    and WordPress will not send data back to XML-RPC requests.
 3. Try the XML-RPC Validation Service for WordPress – the tool is available at [https://xmlrpc.blog/](https://xmlrpc.blog/).
    Keep in mind that you want the validator to fail and tell you that XML-RPC services
    are disabled.

See the screenshots for examples of what these tools will return when the plugin
is enabled.

### Something doesn’t seem to be working correctly

If the plugin is activated, but XML-RPC appears to still be working … OR … the plugin
is deactivated, but XML-RPC is not working, then it’s possible that another plugin
or theme function is affecting the xmlrpc_enabled filter. Additionally, server configurations
could be blocking XML-RPC (i.e. blocking access to xmlrpc.php in the .htaccess file).

## Avaliações

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

### 󠀁[Nothing happens on multisite](https://wordpress.org/support/topic/nothing-happens-on-multisite/)󠁿

 [thoughton](https://profiles.wordpress.org/thoughton/) 17 junho, 2026

Doesn’t seem to work on WP Multisite.

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

### 󠀁[Very simple very effective](https://wordpress.org/support/topic/very-simple-very-effective-5/)󠁿

 [terps001](https://profiles.wordpress.org/terps001/) 7 maio, 2026

Just as simple as it should be. Very good.

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

### 󠀁[Reduced to perfection](https://wordpress.org/support/topic/reduced-to-perfection/)󠁿

 [art-at-tec](https://profiles.wordpress.org/lrnz/) 9 abril, 2024

Dead simple as it should be. Nice, thank you for that.

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

### 󠀁[Perfect plugin on updated WP version](https://wordpress.org/support/topic/perfect-plugin-on-updated-wp-version/)󠁿

 [zaririnatma](https://profiles.wordpress.org/zaririnatma/) 10 fevereiro, 2024

It works perfectly on WordPress 6.4.3 (tested in 2 sites), without plugins conflict.
See the tab FAQ to check that after instal, just test it on website quoted there:(
xmlrpc-check) – if the test returns Fail on check xmlrpc the plugin worked. You 
can also run that test BEFORE instal the plugin to prove its work.

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

### 󠀁[Does not work with WordPress 6.4.2](https://wordpress.org/support/topic/does-not-work-with-wordpress-6-4-2/)󠁿

 [kuzavas](https://profiles.wordpress.org/kuzavas/) 18 janeiro, 2024 1 resposta

Does not work with Wordpress 6.4.2, xmlrpc-check tool still shows “All XML-RPC methods
are available on the server”

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

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

 [charmingdoggo](https://profiles.wordpress.org/charmingdoggo/) 19 dezembro, 2023

Works perfect and is easy to use

 [ Leia todas as 31 avaliações ](https://wordpress.org/support/plugin/disable-xml-rpc/reviews/)

## Colaboradores e desenvolvedores

“Disable XML-RPC” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

 *   [ Phil Erb ](https://profiles.wordpress.org/philerb/)
 *   [ Solve the Net ](https://profiles.wordpress.org/solvethenet/)

[Traduzir o “Disable XML-RPC” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/disable-xml-rpc)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/disable-xml-rpc/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/disable-xml-rpc/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/disable-xml-rpc/)
por [RSS](https://plugins.trac.wordpress.org/log/disable-xml-rpc/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 1.0.1

 * Blank lines removed from the plugin file.

#### 1.0

 * Initial release

## Meta

 *  Versão **1.0.1**
 *  Última atualização **1 mês atrás**
 *  Instalações ativas **200.000+**
 *  Versão do WordPress ** 3.5 ou superior **
 *  Testado até **7.0**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/disable-xml-rpc/)
 * Tag
 * [xmlrpc](https://br.wordpress.org/plugins/tags/xmlrpc/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/disable-xml-rpc/advanced/)

## Classificações

 4.3 de 5 estrelas.

 *  [  25 avaliações com 5 estrelas     ](https://wordpress.org/support/plugin/disable-xml-rpc/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/disable-xml-rpc/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/disable-xml-rpc/reviews/?filter=3)
 *  [  1 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/disable-xml-rpc/reviews/?filter=2)
 *  [  5 avaliações com 1 estrelas     ](https://wordpress.org/support/plugin/disable-xml-rpc/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/disable-xml-rpc/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/disable-xml-rpc/reviews/)

## Colaboradores

 *   [ Phil Erb ](https://profiles.wordpress.org/philerb/)
 *   [ Solve the Net ](https://profiles.wordpress.org/solvethenet/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/disable-xml-rpc/)