よくわからないのでワードプレスのhtaccsessを下記のように変更したのですがこれで大丈夫なのでしょうか? パーミッションは644です。 ~ RewriteRule . index.php [L] <Files ~ "^.*\.([Hh][Tt][Aa])"> order allow,deny deny from all satisfy all </Files> # protect wp-config.php <files wp-config.php> order allow,deny deny from all </files> <FilesMatch "wp-login\.php$"> Deny from all </FilesMatch> Options +FollowSymLinks RewriteEngine On # <script> タグ RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR] # PHP グローバルに関連するもの RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR] # _REQUEST を変更しようとするもの RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2}) #マッチしたURLへのアクセスを禁止("403 Forbidden"のレスポンスを返す) RewriteRule ^(.*)$ index.php [F,L] <Files ~ "^(wp-login\.php|xmlrpc\.php)$"> Order deny,allow Deny from all allow from 1.0.16.0/20 allow from 1.0.64.0/18 allow from 1.1.64.0/18 allow from 1.5.0.0/16 allow from 1.21.0.0/16 allow from 1.33.0.0/16 (以下、日本国内IPアドレス続く) ... ... ... </Files> 数時間経過しているので遅いでしょうか?
↧