【WordPress】特定のページだけ501エラーになる意外な原因

トラブルシューティング
スポンサーリンク

WAF設定されているサーバーで、
Wordpress本文中に、特定のキーワードが入っていると、そのページが501エラーになる時があります。

例えば、以下のキーワード。
(501エラーが出ないように全角文字にしてあります。 実際は半角文字。)

  • httpd.conf
  • .htpasswd
  • .htaccess
  • kill
  • ftp
  • mail
  • ping
  • ls
  • cd

サーバー関係やサーバーを操作するコマンド類です。

 

サーバーの操作をする意思がなくとも、
例えば、コンパクトディスクの「CD」、”その他”の意味の「etc」等
不意にNGワードを半角文字で入力してしまうと、サーバーコマンドと認識されて501エラーになってしまいます。

NGワードは本文だけでなく、カテゴリやタグのスラッグにをつけたりすると、これもアウトです。
カテゴリ一覧や、スラッグ一覧を表示するとそのページだけ501エラーになります。

サーバーのWAF設定をオフすれば解決しますが、それだとセキュリティが下がってしまうので、
全角文字への置き換えや別文字に置換する等の処置をした方が良いかと思います。

サーバー設定などの説明サイトは結構使用する頻度も高いと思うので、使用時には気をつけましょう。

半角文字を一括で変換するには、以下のような文字変換サイトが便利です。

▲参考:XServerでのWAF設定項目

エックスサーバーのWAF設定は、細かく設定できて超便利です。

コメント

rtp live

rtp slot

slot bet 200

bonus new member

rtp slot gacor

situs slot777

joker123

idn poker

situs joker123

rtp

slot bet kecil

slot bonus

depo 25 bonus 25

baccarat online

slot server thailand

sbobet

slot garansi kekalahan

slot bonus new member

sbobet88

slot bonus

slot777 gacor

situs slot bet kecil

slot777

slot bonus new member 100

slot777 gacor

rtp slot gacor hari ini

slot bet

slot88

slot88 resmi

slot gacor hari ini

slot777 login

slot88

slot gampang maxwin

rtp slot tertinggi

starlight princess

bonus new member

wisdom of athena

mochimon

slot 200

slot bet 200

slot777 online

slot777 gacor

jurrasic kingdom

sugar rush

aztec gems

bonus new member

mahjong ways

bonus new member 100

caishen wins

caishen wins slot

slot777 gacor

tree of riches slot

aztec slot

lucky neko slot

rtp slot

slot gacor

slot88 resmi

situs slot

https://slotbonus.softcia.com.br

https://slotbonus.deparmotor.com/

bonus new member

slot777

rtp slot

slot 777

bonus new member

https://adresa-telefony.ru/img/slot777/

https://adresa-telefony.ru/img/joker123/

https://adresa-telefony.ru/img/sbobet/

https://rtp-slot.nwbc.com.au/

https://realesaletter.com/js/sbobet/

https://realesaletter.com/js/slot777/

https://www.yg-moto.com/wp-includes/bet-kecil/

https://pri-israel.com/wp-includes/bet-kecil/

https://www.contato10.com.br/wp-includes/slot-bet-kecil/

https://copima.jp/latex/bet-100/

https://www.routlens.lu/app/themes/bet-100/

https://aws-klinkier.pl/wp-content/bet-100/

https://esigarauzmani.org/wp-includes/slot-bet-kecil/

https://www.bonus-new-member.albedonekretnine.hr/

slot bet 100

slot bet 100

slot bet 100

タイトルとURLをコピーしました