How to enable XML-RPC in WordPress

The XMLRPC creates an 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 the end of the file and save it.
Esta resposta lhe foi útil? 32 Usuários acharam útil (121 Votos)