Allowing only JetPack IP Range
-
Hello All
We currently disabled pings to xmlprc.php due to excessive hits that consumes server reasources. And the rs usage dropped like 90%, which is good.
But now we only want to allow JetPac IP range through the htacces. The lines we are using is below.
# Block WordPress xmlrpc.php requests
<Files xmlrpc.php>
order deny,allow
deny from all
allow from 123.123.123.123
Allow from *.wordpress.com
Allow from 192.0.64.0/18
Allow from 185.64.140.0/22
Allow from 2a04:fa80::/29
Allow from 76.74.255.84
Allow from 76.74.255.85
Allow from 192.0.65.204
Allow from 192.0.65.205
Allow from 192.0.80.244
Allow from 192.0.80.246
Allow from 192.0.96.247
Allow from 192.0.96.248
Allow from 192.0.123.250
Satisfy All
ErrorDocument 403 https://google.com/
</Files>is it the correct way? or are we doing something wrong
- The topic ‘Allowing only JetPack IP Range’ is closed to new replies.