当前位置: 代码迷 >> 综合 >> 总结一下 Wordpress 禁止指定IP访问的方法,欢迎补充~
  详细解决方案

总结一下 Wordpress 禁止指定IP访问的方法,欢迎补充~

热度:1   发布时间:2023-12-10 11:01:15.0

1、使用cloudflare cdn 的防火墙规则

2、使用wordpress 插件

  1. iQ Block Country
  2. IP2Location Country Blocker
  3. WP GEO Website Protection
  4. Wordfence

3、修改 .htaccess 文件

4、修改 服务器 iptable 

5、编写php程序,识别访问的ip

  相关解决方案