• Resolved fohteh

    (@fohteh)


    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

    • This topic was modified 6 years, 3 months ago by fohteh.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Anonymous User 3392934

    (@anonymized-3392934)

    Hey there, @fohteh!

    Thank you for reaching out to us about this, and I definitely understand your desire to minimize resource usage on your site.

    You haven’t provided a URL, so I’m assuming you’re referring to the site listed in your profile:

    – textilegence.com

    If that’s the site you’re referring to, Jetpack is currently working correctly. If you’ve already added the above rules, no further action is needed.

    We detail our IP range, here:

    https://jetpack.com/support/hosting-faq/#jetpack-whitelist

    Provided your .htaccess rules include all of the IPs listed above, you’re all set.

    If you haven’t already enforced these rules, you can also simply try. If you accidentally block Jetpack temporarily, you can remove the rules.

    Please let us know if you run into any issues, or if we can help with anything else! ??

    Thread Starter fohteh

    (@fohteh)

    Hi Mark

    Exactly, the site is textilegence.com

    Thank you for your feedback; it seems JetPack is working correctly now…

    Those rules actually saved my life ??

    Thank you again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Allowing only JetPack IP Range’ is closed to new replies.