Title: Disable XML-RPC Pingback
Author: Samuel Aguilera
Published: <strong>2014 年 3 月 11 日</strong>
Last modified: 2025 年 11 月 24 日

---

搜索插件

![](https://ps.w.org/disable-xml-rpc-pingback/assets/banner-772x250.png?rev=874097)

![](https://ps.w.org/disable-xml-rpc-pingback/assets/icon-128x128.png?rev=2531321)

# Disable XML-RPC Pingback

 作者：[Samuel Aguilera](https://profiles.wordpress.org/samuelaguilera/)

[下载](https://downloads.wordpress.org/plugin/disable-xml-rpc-pingback.1.2.2.zip)

 * [详情](https://cn.wordpress.org/plugins/disable-xml-rpc-pingback/#description)
 * [评价](https://cn.wordpress.org/plugins/disable-xml-rpc-pingback/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/disable-xml-rpc-pingback/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/disable-xml-rpc-pingback/#developers)

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

## 描述

Stops abuse of your site’s XML-RPC by simply removing some methods used by attackers.
While you can use the rest of XML-RPC methods.

This is more friendly than disabling totally XML-RPC, that it’s needed by some plugins
and apps (I.e. Mobile apps or some Jetpack’s modules).

 * The original one.
 * Simple and effective.
 * No marketing buzz.
 * Maintained and **updated when needed** since 2014.
 * 100% compliant with **WordPress coding standards** which makes it fail safe.
 * **60,000+ active installations** can’t be wrong.

If you’re happy with the plugin [please don’t forget to give it a good rating](https://wordpress.org/support/plugin/disable-xml-rpc-pingback/reviews/?filter=5),
it will motivate me to keep sharing and improving this plugin (and others).

#### Features

Removes the following methods from XML-RPC interface.

 * pingback.ping
 * pingback.extensions.getPingbacks
 * X-Pingback from HTTP headers. This will hopefully stops some bots from trying
   to hit your xmlrpc.php file.

#### Requirements

 * WordPress 3.8.1 or higher.

## 安装

 * Extract the zip file and just drop the contents in the `wp-content/plugins/` 
   directory of your WordPress installation (or install it directly from your dashboard)
   and then activate the plugin from Plugins page.
 * There’s not options page, simply install and activate.

## 评价

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

### 󠀁[This excellent plugin is updated if needed and is still actively maintained](https://wordpress.org/support/topic/this-excellent-plugin-is-updated-if-needed-and-is-still-actively-maintained/)󠁿

 [Gordon](https://profiles.wordpress.org/jwart/) 2025 年 10 月 21 日

The plugin author is still actively engaged with this excellently useful plugin.
It receives updates only when needed which might be years in between updates. Still
works great! Highly recommend.

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

### 󠀁[This haven’t updated over than a year](https://wordpress.org/support/topic/this-havent-updated-over-than-a-year/)󠁿

 [morti037](https://profiles.wordpress.org/morti037/) 2021 年 5 月 13 日 1 回复

There is better option than this plugin. I have used disable xmlrpc api and its 
works fine for me.

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

### 󠀁[Broke my site](https://wordpress.org/support/topic/broke-my-site-208/)󠁿

 [captainzandra](https://profiles.wordpress.org/captainzandra/) 2020 年 10 月 3 
日

This broke my site, I had to revert to a backup on the server after installing it.

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

### 󠀁[Fantástico plugin, imprescindible](https://wordpress.org/support/topic/fantastico-plugin-imprescindible/)󠁿

 [Fernando Tellado](https://profiles.wordpress.org/fernandot/) 2017 年 1 月 20 日

Gran trabajo Samuel, en combinación con algunas reglas de htaccess hace un trabajo
fantástico.

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

### 󠀁[Great plugins](https://wordpress.org/support/topic/great-plugins-57/)󠁿

 [wplike75](https://profiles.wordpress.org/wplike75/) 2016 年 11 月 19 日

Thank you for this free and great plugin.

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

### 󠀁[Awesome and Effective Plugin.](https://wordpress.org/support/topic/awesome-and-effective-plugin-1/)󠁿

 [gmyoganand](https://profiles.wordpress.org/gmyoganand/) 2016 年 9 月 3 日

Does what it says and this is what needed for a XMLRPC attacks. Thanks.

 [ 阅读所有14条评价 ](https://wordpress.org/support/plugin/disable-xml-rpc-pingback/reviews/)

## 贡献者及开发者

「Disable XML-RPC Pingback」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Samuel Aguilera ](https://profiles.wordpress.org/samuelaguilera/)

「Disable XML-RPC Pingback」插件已被翻译至 15 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/disable-xml-rpc-pingback/contributors)
为本插件所做的贡献。

[帮助将「Disable XML-RPC Pingback」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/disable-xml-rpc-pingback)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/disable-xml-rpc-pingback/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/disable-xml-rpc-pingback/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/disable-xml-rpc-pingback/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/disable-xml-rpc-pingback/)。

## 更新日志

#### 1.2.2

 * Improved WP version checking to avoid a notice under certain versions of WP.

#### 1.2.1

 * Minor changes to make code 100% compliant with WordPress Coding Standards.

#### 1.2

 * Added support for X-Pingback header removal in recent versions of WP.

#### 1.1

 * Added code to remove X-Pingback from HTTP headers as suggested by user https://
   wordpress.org/support/topic/remove-x-pingback-http-header

#### 1.0

 * Initial release.

## 额外信息

 *  版本 **1.2.2**
 *  最后更新：**7 月前**
 *  活跃安装数量 **60,000+**
 *  WordPress 版本 ** 4.8 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [Arabic](https://ar.wordpress.org/plugins/disable-xml-rpc-pingback/) 、 [Dutch](https://nl.wordpress.org/plugins/disable-xml-rpc-pingback/)、
   [English (South Africa)](https://en-za.wordpress.org/plugins/disable-xml-rpc-pingback/)、
   [English (UK)](https://en-gb.wordpress.org/plugins/disable-xml-rpc-pingback/)、
   [English (US)](https://wordpress.org/plugins/disable-xml-rpc-pingback/) 、 [Galician](https://gl.wordpress.org/plugins/disable-xml-rpc-pingback/)、
   [Hungarian](https://hu.wordpress.org/plugins/disable-xml-rpc-pingback/) 、 [Japanese](https://ja.wordpress.org/plugins/disable-xml-rpc-pingback/)、
   [Russian](https://ru.wordpress.org/plugins/disable-xml-rpc-pingback/) 、 [Spanish (Argentina)](https://es-ar.wordpress.org/plugins/disable-xml-rpc-pingback/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/disable-xml-rpc-pingback/)、
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/disable-xml-rpc-pingback/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/disable-xml-rpc-pingback/)、
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/disable-xml-rpc-pingback/)、
   [Swedish](https://sv.wordpress.org/plugins/disable-xml-rpc-pingback/) 和 [Ukrainian](https://uk.wordpress.org/plugins/disable-xml-rpc-pingback/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/disable-xml-rpc-pingback)
 * 标签
 * [ddos](https://cn.wordpress.org/plugins/tags/ddos/)[pingback](https://cn.wordpress.org/plugins/tags/pingback/)
   [rpc](https://cn.wordpress.org/plugins/tags/rpc/)[xml](https://cn.wordpress.org/plugins/tags/xml/)
   [xml-rpc](https://cn.wordpress.org/plugins/tags/xml-rpc/)
 *  [高级视图](https://cn.wordpress.org/plugins/disable-xml-rpc-pingback/advanced/)

## 评级

 3.9 星（最高 5 星）。

 *  [  10 条 5 星评价     ](https://wordpress.org/support/plugin/disable-xml-rpc-pingback/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/disable-xml-rpc-pingback/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/disable-xml-rpc-pingback/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/disable-xml-rpc-pingback/reviews/?filter=2)
 *  [  4 条 1 星评价     ](https://wordpress.org/support/plugin/disable-xml-rpc-pingback/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/disable-xml-rpc-pingback/reviews/)

## 贡献者

 *   [ Samuel Aguilera ](https://profiles.wordpress.org/samuelaguilera/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/disable-xml-rpc-pingback/)