Create a gist now

Instantly share code, notes, and snippets.

@bissy /.htaccess
Last active Jul 7, 2017

What would you like to do?
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