Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of deleting xmlrpc.php

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you how to delete xmlrpc.php, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

The way to delete "xmlrpc.php" is to first add the code "add_filter ('xmlrpc_enabled','__return_false');" to the header of "functions.php", and then delete "xmlrpc.php" from the server.

Wordpress optimization disables xml-rpc, deletes xmlrpc.php to prevent brute force cracking

Add the following code to the file header of functions.php:

Add_filter ('xmlrpc_enabled','__return_false')

As shown in the figure, after adding OK, click the update button, which turns off the XML-RPC function.

How to know whether your ban is successful? you can see the red word "disable XML-RPC service on this site" in wordpress's Android client program log. Remember to delete xmlrpc.php from the server.

Of course, there are plug-ins to disable xml-rpc, but the purpose of disabling xml-rpc is to prevent participation in ddos attacks, to speed up website access, to improve user experience, to add code to template functions to speed up website access, and the use of a large number of plug-ins is also one of the reasons for slowing down website access, so try not to use plug-ins if you can avoid using plug-ins Writing code in template functions is faster and more efficient.

The above is all the content of this article "how to delete xmlrpc.php". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report