Disable WordPress XML-RPC

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

.htaccess