• I have been told by my hosting that there is an infected file on my website. File is wp-xmlrpc.php.

    Is this file ok to delete completely? Will it effect my site in any way if I delete it via FTP?

    Thanks

    • This topic was modified 4 years, 4 months ago by redspot.
    • This topic was modified 4 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 3 replies - 1 through 3 (of 3 total)
  • Did they actually tell you it was infected? You’ll need to replace that file then. If it was really infected though I’d have thought your web host would have quarantined that file, replaced it, or else fixed it for you.

    They may have mentioned XML-RPC as a potential security problem if you don’t need it though. According to some of the core team members, it’s no more a security threat than any other core feature in WordPress.

    Anyway, here’s a good discussion on that subject with several suggestions on removing that feature from WordPress if you don’t need it.

    https://www.wpbeginner.com/plugins/how-to-disable-xml-rpc-in-wordpress/

    I hope this helps and after you disable it and find you don’t need it for sure you can probably remove it but do know that a future WordPress update might put that file back.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    There is no “wp-xmlrpc.php” file in WordPress.

    There is a file named “xmlrpc.php” which should not be deleted, as it is part of WordPress. However, if it has been modified, then you should replace it with a fresh copy from the WordPress zip file.

    .htaccess dsoyan?z?n en alt k?sm?na

    # Block WordPress xmlrpc.php requests
    <Files xmlrpc.php>
    order deny,allow
    deny from all
    allow from 123.123.123.123
    </Files>

    bunu kopyala yap??t?r yap?n 123.123.123.123. yazan yere kendi ip adresinizi yaz?n
    ip adresinizi bilmiyorsan?z google’a yaz?n hemen bulursunuz.
    biz aylardan beri sald?rganlarla ba??m?z belada bunu uygulad?k ?uanda bir ki?i bile sald?r? yapam?yor.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can I delete wp-xmlrpc.php file?’ is closed to new replies.