Skip to content

Instantly share code, notes, and snippets.

@bissy
Last active May 3, 2018 03:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bissy/5d124395a820761a2fdbd8bc3f92b4e2 to your computer and use it in GitHub Desktop.
Save bissy/5d124395a820761a2fdbd8bc3f92b4e2 to your computer and use it in GitHub Desktop.
allow from Jetpack, Deny All. xmlrpc.php
# XML-RPC にアクセス制限、Automattic(Jetpack開発元)は許可
<Files xmlrpc.php>
Order Deny,Allow
Deny from all
# Automattic を許可
allow from 192.0.64.0/255.0.64.0
allow from 185.64.140.0/22
allow from 216.151.209.64/26
allow from 66.135.48.128/25
allow from 69.174.248.128/25
allow from 76.74.255.0/25
allow from 216.151.210.0/25
allow from 76.74.248.128/25
allow from 76.74.254.0/25
allow from 207.198.112.0/23
allow from 207.198.101.0/25
allow from 198.181.116.0/22
allow from 192.0.64.0/18
allow from 66.155.8.0/22
allow from 66.155.38.0/24
allow from 72.233.119.192/26
allow from 209.15.21.0/24
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment