WorPress WooCommerce Security

STEP 1 :

.htaccess

Important! Change xxx.xxx.xxx.xxx to IP address you wish to allow access xmlrpc.php or remove this line completely.

 

STEP 2 :

Disable XML-RPC to reduce the attack surface. You can do this by adding the following code to your theme’s functions.php file:

 

STEP 3 :

Use Plugin Wordfence

 

Leave a Reply

Your email address will not be published. Required fields are marked *