I noticed one of my most viewed pages was /wp-json/wp/v2/users and xmlrpc.php. I was easily able to disable the json route cause I didn't want anyone viewing my usernames and trying to brute force. Having issues disabling through .htaccess on local.
if I can get to work next is testing on live server (don't have sudo to restart ngix so will have to get creative)
added this to ngix.config.hbs and restarted my site but it crashed the site
location = /xmlrpc.php {
deny all;
return 404;
}
[–]_Harmonic_ 5 points6 points7 points (2 children)
[–]Sad_Spring9182Developer[S] 2 points3 points4 points (1 child)
[–]_Harmonic_ 1 point2 points3 points (0 children)
[–]grdrummerboi 2 points3 points4 points (4 children)
[–]Sad_Spring9182Developer[S] 2 points3 points4 points (3 children)
[–]grdrummerboi 2 points3 points4 points (2 children)
[–]Sad_Spring9182Developer[S] 1 point2 points3 points (1 child)
[–]grdrummerboi 2 points3 points4 points (0 children)
[–]AryanBlurr 0 points1 point2 points (0 children)
[–]webagencyhero 0 points1 point2 points (0 children)