How to enable XMLRPC in WordPress

The XMLRPC creates attack vector due to various issues related to it. Due to this reason, it is by default disabled on all the shared and reseller hosting accounts. You can however enable it on your website easily using the .htaccess.

To enable XMLRPC, follow these steps:

  1. Go to /public_html or /www folder of your website.
  2. Open .htaccess in a file editor
  3. Add the following code to end of the file and save it.

<files xmlrpc.php>
order allow,deny
allow from all
</files>

Was this answer helpful? 1 Users Found This Useful (2 Votes)