如何在Cloudflare中白名单Ahrefs IPs

如果您使用Cloudflare来保证网站的安全和性能,您会希望将Ahrefs的IP列入白名单,以确保Ahrefs的爬虫能够继续正确索引您的网站。在这篇文章中,我们将向您展示如何做到这一点!

Cloudflare阻止Ahrefs的爬行者
Cloudflare阻止Ahrefs的爬行者

如何在Cloudflare中白名单Ahrefs IPs

cloudflare

如果你在使用 云飞扬 为了管理您网站的DNS,您可能需要将Ahrefs的IP地址列入白名单,以确保Ahrefs的爬行者能够到达您的网站。要做到这一点,只需将以下IP地址添加到您的Cloudflare帐户:

  1. 登录到Cloudflare管理员

    登录到云飞扬

    登录Cloudflare很简单,只需要几秒钟。要登录,请访问网站并输入您的电子邮件地址和密码。登录后,您将能够管理您的账户和设置,以及查看您网站的统计数据和分析。

  2. 打开防火墙设置

    打开防火墙设置

    防火墙设置在左侧导航中的 安全 >> WAF

    默认设置旨在阻止最常见的攻击类型,但如果你在你的网站上看到不寻常的流量或可疑的活动,你可能需要调整它们。

  3. 创建防火墙规则

    创建防火墙规则

    点击蓝色的 创建防火墙规则 按钮,给你的规则起一个描述性的名字

    该防火墙规则将被用来解除对与Ahrefs相关的特定IP地址的封锁。

  4. 输入Ahrefs的IP范围

    啊瑞思的IP范围

    隶属 场地, 选择 IP源地址。

    运营商 应设置为 是在。

    价值 使用下面的IP范围。

    然后... 标题设置为 允许 (由块状改变)。

    Ahrefs的IP范围。

    54.36.148.0/24
    54.36.149.0/24

    195.154.122.0/24
    195.154.123.0/24
    195.154.126.0/24
    195.154.127.0/24

    51.222.253.0/26

    请注意。 Cloudflare不接受/26范围。请使用下面的单个IP。

    51.222.253.0
    51.222.253.1
    51.222.253.2
    51.222.253.3
    51.222.253.4
    51.222.253.5
    51.222.253.6
    51.222.253.7
    51.222.253.8
    51.222.253.9
    51.222.253.10
    51.222.253.11
    51.222.253.12
    51.222.253.13
    51.222.253.14
    51.222.253.15
    51.222.253.16
    51.222.253.17
    51.222.253.18
    51.222.253.19
    51.222.253.20
    51.222.253.21
    51.222.253.22
    51.222.253.23
    51.222.253.24
    51.222.253.25
    51.222.253.26
    51.222.253.27
    51.222.253.28
    51.222.253.29
    51.222.253.30
    51.222.253.31
    51.222.253.32
    51.222.253.33
    51.222.253.34
    51.222.253.35
    51.222.253.36
    51.222.253.37
    51.222.253.38
    51.222.253.39
    51.222.253.40
    51.222.253.41
    51.222.253.42
    51.222.253.43
    51.222.253.44
    51.222.253.45
    51.222.253.46
    51.222.253.47
    51.222.253.48
    51.222.253.49
    51.222.253.50
    51.222.253.51
    51.222.253.52
    51.222.253.53
    51.222.253.54
    51.222.253.55
    51.222.253.56
    51.222.253.57
    51.222.253.58
    51.222.253.59
    51.222.253.60
    51.222.253.61
    51.222.253.62
    51.222.253.63

    Ahrefs还在下面的代码块中使用单个IP。

    168.119.64.245
    
    168.119.64.246
    
    168.119.64.247
    
    168.119.64.248
    
    168.119.64.249
    
    168.119.64.250
    
    168.119.64.251
    
    168.119.64.252
    
    168.119.64.253
    
    168.119.64.254
    
    168.119.65.107
    
    168.119.65.108
    
    168.119.65.109
    
    168.119.65.110
    
    168.119.65.111
    
    168.119.65.112
    
    168.119.65.113
    
    168.119.65.114
    
    168.119.65.115
    
    168.119.65.116
    
    168.119.65.117
    
    168.119.65.118
    
    168.119.65.119
    
    168.119.65.120
    
    168.119.65.121
    
    168.119.65.122
    
    168.119.65.123
    
    168.119.65.124
    
    168.119.65.125
    
    168.119.65.126
    
    168.119.65.43
    
    168.119.65.44
    
    168.119.65.45
    
    168.119.65.46
    
    168.119.65.47
    
    168.119.65.48
    
    168.119.65.49
    
    168.119.65.50
    
    168.119.65.51
    
    168.119.65.52
    
    168.119.65.53
    
    168.119.65.54
    
    168.119.65.55
    
    168.119.65.56
    
    168.119.65.57
    
    168.119.65.58
    
    168.119.65.59
    
    168.119.65.60
    
    168.119.65.61
    
    168.119.65.62
    
    168.119.68.117
    
    168.119.68.118
    
    168.119.68.119
    
    168.119.68.120
    
    168.119.68.121
    
    168.119.68.122
    
    168.119.68.123
    
    168.119.68.124
    
    168.119.68.125
    
    168.119.68.126
    
    168.119.68.171
    
    168.119.68.172
    
    168.119.68.173
    
    168.119.68.174
    
    168.119.68.175
    
    168.119.68.176
    
    168.119.68.177
    
    168.119.68.178
    
    168.119.68.179
    
    168.119.68.180
    
    168.119.68.181
    
    168.119.68.182
    
    168.119.68.183
    
    168.119.68.184
    
    168.119.68.185
    
    168.119.68.186
    
    168.119.68.187
    
    168.119.68.188
    
    168.119.68.189
    
    168.119.68.190
    
    168.119.68.235
    
    168.119.68.236
    
    168.119.68.237
    
    168.119.68.238
    
    168.119.68.239
    
    168.119.68.240
    
    168.119.68.241
    
    168.119.68.242
    
    168.119.68.243
    
    168.119.68.244
    
    168.119.68.245
    
    168.119.68.246
    
    168.119.68.247
    
    168.119.68.248
    
    168.119.68.249
    
    168.119.68.250
    
    168.119.68.251
    
    168.119.68.252
    
    168.119.68.253
    
    168.119.68.254

  5. 部署防火墙规则

    部署防火墙规则

    一旦你创建了你的规则,点击 部署防火墙规则 按钮来部署它。

一旦您将这些IP地址添加到您的Cloudflare账户中,您就应该做好一切准备了!Ahrefs的爬虫现在应该可以毫无问题地到达您的网站。感谢你花时间将Ahrefs列入白名单!

常见问题

  • Cloudflare是否阻止IP?

发表于:2022-09-14
更新日期:2023-01-02

艾萨克-亚当斯-手的头像

艾萨克-亚当斯-汉斯

Isaac Adams-Hands是SEO North公司的SEO总监,该公司提供搜索引擎优化服务。作为一名搜索引擎优化专家,Isaac在网页搜索引擎优化、非网页搜索引擎优化和技术性搜索引擎优化方面拥有相当丰富的专业知识,这使他在竞争中占据了优势。
zh_CNChinese