Deleted XMLRPC file from WordPress



MANUALLY upload a fresh copy of that file.

Download WordPress again and unzip it, and use that to copy up. Access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and upload fresh copy from the download.

Source link