移除Really Simple Discovery (RSD) link

WordPress Really Simple Discovery (RSD) link,这是一个……WordPress没有多大用处的功能。

Really Simple Discovery (RSD) is an XML format and a publishing convention for making services exposed by a blog, or other web software, discoverable by client software.

真正简单发现(RSD)是一种XML格式和发布约定,用于通过客户端软件可发现的博客或其他Web软件公开服务。

默认你的WordPress会出现:

<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.iopenv.com/xmlrpc.php?rsd" />

一般的WordPress主题是不会移除Really Simple Discovery (RSD) link,移除方法:

remove_action('wp_head', 'rsd_link');

参考文档:https://en.wikipedia.org/wiki/Really_Simple_Discovery

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注