Yoast插件:您的WordPress网站SEO优化利器
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">在之前的<span style="color: black;">文案</span>中<span style="color: black;">咱们</span>介绍了<span style="color: black;">怎样</span>低成本<span style="color: black;">运用</span>WordPress来搭建个人网站,相信<span style="color: black;">非常多</span><span style="color: black;">伴侣</span>都<span style="color: black;">期盼</span>自己的网站能够被搜索引擎所收录,并<span style="color: black;">得到</span>更高的排名,从而吸引<span style="color: black;">更加多</span>的流量和用户。<span style="color: black;">倘若</span>是的话,您需要<span style="color: black;">认识</span>SEO(搜索引擎优化)的基本概念和<span style="color: black;">办法</span>,以及<span style="color: black;">怎样</span>利用一款强大的插件——Yoast SEO来<span style="color: black;">帮忙</span>您实现这个<span style="color: black;">目的</span>。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-axegupay5k/03d2bd04dded4eefa93fec67e5e87591~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=pw%2FowLTnWh1RfBF66dJUvxKV%2FAY%3D" style="width: 50%; margin-bottom: 20px;"></div>
<h1 style="color: black; text-align: left; margin-bottom: 10px;">SEO的基本介绍</h1><strong style="color: blue;">什么是SEO:</strong>SEO<span style="color: black;">指的是</span><span style="color: black;">经过</span>对网站进行内部和<span style="color: black;">外边</span>的<span style="color: black;">调节</span>和优化,<span style="color: black;">加强</span>网站在搜索引擎中的自然排名,从而<span style="color: black;">得到</span><span style="color: black;">更加多</span>的流量和转化。SEO<span style="color: black;">能够</span><span style="color: black;">帮忙</span><span style="color: black;">加强</span>网站的可信度,<span style="color: black;">增多</span>用户的满意度,降低营销成本,<span style="color: black;">加强</span>品牌知名度,<span style="color: black;">提高</span>竞争力等。<strong style="color: blue;"><span style="color: black;">为何</span>要做SEO:</strong>优化SEO优化<span style="color: black;">指的是</span><span style="color: black;">按照</span>搜索引擎的算法和规则,对网站的内容、结构、代码、链接等方面进行<span style="color: black;">恰当</span>的<span style="color: black;">调节</span>,以<span style="color: black;">加强</span>网站的<span style="color: black;">关联</span>性和权威性,从而<span style="color: black;">提高</span>网站的排名。SEO优化的目的是让搜索引擎更好地理解和收录您的网站,让您的网站更符合用户的搜索意图,让您的网站在行业内占据领先地位,<span style="color: black;">得到</span><span style="color: black;">更加多</span>的品牌收益。<strong style="color: blue;">SEO插件能帮<span style="color: black;">咱们</span>做什么:</strong>SEO插件能帮<span style="color: black;">咱们</span>做的事情有<span style="color: black;">非常多</span>,例如设置网站的标题、描述、关键词等元数据,生成和提交网站的站点地图,管理网站的链接和重定向,分析网站的SEO得分和可读性,优化网站的面包屑导航和结构化数据,集成网站的社交<span style="color: black;">媒介</span>和分析平台等,借助这些插件工具<span style="color: black;">咱们</span><span style="color: black;">能够</span>轻易的实现原来<span style="color: black;">仅有</span>SEO黑客才<span style="color: black;">把握</span>的优化手段。接下来<span style="color: black;">咱们</span>就来<span style="color: black;">瞧瞧</span><span style="color: black;">怎样</span>在WordPress中安装和配置Yoast SEO插件。<h1 style="color: black; text-align: left; margin-bottom: 10px;">Yoast SEO插件安装与配置</h1>
<h1 style="color: black; text-align: left; margin-bottom: 10px;">插件安装</h1>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">在之前的<span style="color: black;">文案</span>中<span style="color: black;">咱们</span>有<span style="color: black;">说到</span><span style="color: black;">怎样</span>在WordPress中安装插件,在插件页面中搜索“Yoast SEO”<span style="color: black;">选取</span>插件进行安装,安装成功后,启用插件,会自动打开插件设置界面。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/6ecb6157096b40e78ea45f352ee8d1fe~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=Kic1u2MD5ujLD9Hc1uXUhuUQHu0%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">能够</span><span style="color: black;">按照</span>提示打开<span style="color: black;">关联</span>设置,<span style="color: black;">咱们</span>只<span style="color: black;">运用</span>免费版的功能,<span style="color: black;">重点</span>的配置项在插件下的“设置”页面,常规tab下的内容<span style="color: black;">能够</span><span style="color: black;">按照</span>自己的需要进行设置,都比较简单。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/320f41eae6ce48d997e6500e66808562~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=qNF4%2BZeqcyxTMqVv3S%2B3VU0aFyE%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">最重要的一步操作,<span style="color: black;">咱们</span>在“Site features“页面勾选启用“XML站点地图”功能,<span style="color: black;">而后</span>点击”查看XML网站地图“<span style="color: black;">转</span>到新的页面,复制浏览器中的<span style="color: black;">位置</span>,在后续的搜索引擎配置中会用到。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/d583c212b24b4be284b97401e981ae48~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=Qby%2BgdMW0BEFIBUkFcmMyzmkSHw%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">复制站点地图链接<span style="color: black;">位置</span>。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/9a870f15267c41c2932c8e55b75b7f96~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=jXqbCrs382LeRHtTLrly1AOD8kc%3D" style="width: 50%; margin-bottom: 20px;"></div>
<h1 style="color: black; text-align: left; margin-bottom: 10px;">搜索引擎配置</h1>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">做为</span>一个全新的网站,<span style="color: black;">怎样</span>快速让搜索引擎收录,<span style="color: black;">从而</span>从搜索途径获取用户流量,最快的办法<span style="color: black;">便是</span><span style="color: black;">运用</span>搜索引擎平台<span style="color: black;">供给</span>的网站管理工具,主动将<span style="color: black;">咱们</span>的网站上报给平台,<span style="color: black;">提高</span>搜索引擎收录的效率。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">这儿</span>我以谷歌和必应搜索为例进行说明,<span style="color: black;">由于</span>我的网站<span style="color: black;">无</span>备案,就不操作百度了。<span style="color: black;">关联</span>操作入口都在Yoast SEO插件的“网站连接”页面中,可以<span style="color: black;">选取</span>搜索引擎下方的链接<span style="color: black;">转</span>到对应的平台进行设置。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/ddbc663fd291474ba2f8b53590552b4e~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=NRZeIRGIznHG5nmPkqDR18J92C0%3D" style="width: 50%; margin-bottom: 20px;"></div>
<h1 style="color: black; text-align: left; margin-bottom: 10px;">谷歌搜索</h1>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">在谷歌网站管理后台填写你的网站域名进行处理。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/aabf5ba40fdf4b959bad398cf7136ed5~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=DfBKZzp0m1dVTNtH%2BeJsQxNmcCw%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">点击“继续”后会<span style="color: black;">表示</span>如下界面,<span style="color: black;">需求</span><span style="color: black;">经过</span>DNS记录验证域名的所有权,<span style="color: black;">这儿</span>复制TXT记录。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/f4ed82fe213640349a523ff53cf7c95b~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=qPBDrWmsZE%2Bjb82j%2BBeqGlLQ0OI%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">登录你的域名所托管的DNS服务商管理后台添加一条TXT记录,例如我将域名托管到了cloudflare,<span style="color: black;">因此呢</span>只需要在cloudflare的DNS页面中添加一条DNS记录。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/7961d95cf12f46b3a5338a4faa6c6241~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=LlqyMTfOHzekmp3uoey6bHKOKKY%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">DNS记录添加完成后,<span style="color: black;">能够</span>稍等一会儿等待DNS记录生效,<span style="color: black;">而后</span>回到谷歌后台,点击“验证”按钮验证网站的归属,验证成功后,会<span style="color: black;">表示</span>如下界面,<span style="color: black;">显示</span>你<span style="color: black;">已然</span>在谷歌平台<span style="color: black;">持有</span>了该网站的管理权。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/419474cdf9714583adfa95e3c493f480~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=DKJRovBnnGql7X6cIHUsi2VzjM0%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">接下来,<span style="color: black;">咱们</span>将之前在Yoast SEO插件中生成的网站<span style="color: black;">位置</span>链接添加到谷歌网站管理后台的“站点地图”页面中并提交。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/1f99859ef1374f6c99b26d4cb84afa69~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=oYNK41yoxh8oAU8N258RyM7FzS4%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">站点地图提交完成后,谷歌搜索引擎一段时间后就会<span style="color: black;">按照</span><span style="color: black;">咱们</span>提交的信息去抓取网站的内容进行索引构建,这个过程需要<span style="color: black;">有些</span>时日,请耐心等待。</p>
<h1 style="color: black; text-align: left; margin-bottom: 10px;">必应搜索</h1>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">继续从Yoast SEO插件页面的“网站连接”页面中<span style="color: black;">选取</span>Bing搜索引擎下方的链接<span style="color: black;">转</span>到平台进行设置。需要先登录账号,如果<span style="color: black;">无</span><span style="color: black;">能够</span>注册一个。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/c4260c8d37984fcba05efe8f26339abc~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=Y8dJW2OTx9bhJ6B3leAdjJDNIRI%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">登录或注册账号。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/756afde563d94a2cb41bc01ede651a24~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=bau2SjHo07cP1J6FZW7vhFzDBpw%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">准许</span>Bing网站管理工具<span style="color: black;">拜访</span>个人信息。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/41f869efef1241e9a3facd133d01f1e7~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=ZF%2FdC3uqcxjkPHuTjSPPU8glaPI%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">由于</span>之前<span style="color: black;">已然</span>在谷歌上配置过网站,<span style="color: black;">这儿</span>Bing<span style="color: black;">供给</span>了快捷添加方式,<span style="color: black;">能够</span>直接从谷歌导入,<span style="color: black;">倘若</span>你不想从谷歌导入<span style="color: black;">亦</span><span style="color: black;">能够</span>直接新增。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/25ef1e1e256543f0bb68041fa7b11053~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=7%2Fc3GOBJz7iG3cTKHD8EYw45mTM%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">这儿</span>我直接<span style="color: black;">选取</span>从谷歌导入,<span style="color: black;">选取</span>右下角的继续。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/7ab7115da33d4bc5afc8a45265dd1ccb~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=Zw6qTL0Pjj0aYiUv3yOXidhL2Ak%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">选取</span>好对应的谷歌账号,<span style="color: black;">准许</span>bing.com<span style="color: black;">拜访</span>谷歌平台的数据。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/d8f7b87644574ba6abcdeaf8d4d9d468~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=5sF%2B798MjiFOzotwNYd4JWLI4Zs%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">选取</span>谷歌账号中的站点导入到bing中,点击右下角的“导入”提交请求。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/ec64d106dd5b464cb95c0f9689f9657a~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=YFha8nNOluYOTnvx7KAzeQsWEbc%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">添加完成后的提示界面如下。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/dc6ba760ff5d4051b9b7884bb1bb2100~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=urjCAnzetZuFPvrXUWLaNYn659I%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">接下来<span style="color: black;">咱们</span>进入到Bing网站管理工具,提交<span style="color: black;">咱们</span>的站点地图给搜索引擎。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/4b21a140d2d1466abb66a509e2da1cc0~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=2KcRjWMBRtI%2Fzgu3qGzLl%2B%2BgSco%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">在“网站地图”页面提交<span style="color: black;">咱们</span>的网站地图链接给Bing。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/a3f7a88d2dfe4145b80f5fe2a1bedda0~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=EPV6n3QXPDpRyXL0v2yzYtQe0NQ%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">这般</span>,Bing<span style="color: black;">亦</span>能检索<span style="color: black;">咱们</span>的网站啦,<span style="color: black;">一样</span>需要时间处理,<span style="color: black;">大众</span>请耐心等待。</p>
<h1 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">文案</span>SEO优化</h1>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">安装了Yoast SEO插件后,<span style="color: black;">咱们</span>在WordPress平台上写<span style="color: black;">文案</span>的时候,会在编辑器最下方<span style="color: black;">显现</span><span style="color: black;">有些</span>SEO的配置项,<span style="color: black;">大众</span><span style="color: black;">能够</span><span style="color: black;">按照</span>提示进行填写,内容填写的越充分,SEO的效果就越好。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/6dedc7da15b74b33b01b398b616cc589~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=hBWn9fZX3ilKRDKNaigCWRDwmiI%3D" style="width: 50%; margin-bottom: 20px;"></div>
<h1 style="color: black; text-align: left; margin-bottom: 10px;">搜索引擎验收</h1>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">经过2天的等待,我在谷歌搜索引擎看到了自己的网站。<span style="color: black;">经过</span>本文介绍的这种方式,<span style="color: black;">能够</span>比较快的将自己的网页提交给搜索引擎,<span style="color: black;">倘若</span>你的网站还<span style="color: black;">无</span>被搜索引擎收录,<span style="color: black;">亦</span>来用这种方式试试吧~</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/800077df921e41c6a242e57596b7d37b~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=azl5z3Lnof7aVRtAxTXgtHJfYn4%3D" style="width: 50%; margin-bottom: 20px;"></div>
<h1 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">平常</span>问题</h1>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">1.<span style="color: black;">倘若</span>你把站点地图提交给搜索引擎后迟迟<span style="color: black;">没法</span>在搜索引擎平台看到自己的网页,<span style="color: black;">能够</span>去网站管理工具中看下<span style="color: black;">是不是</span>有<span style="color: black;">关联</span>报错信息,<span style="color: black;">倘若</span>搜索引擎在爬取你的网站时页面报错了<span style="color: black;">或</span>请求被拦截了自然是<span style="color: black;">没法</span>收录的。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/ebe8e6ccc3a14684ba8f4b39839fa720~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=WMKt%2BXjNfVlM9ilSyZaHmN1O%2B8g%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">针对</span>我<span style="color: black;">来讲</span>,<span style="color: black;">由于</span>之前将网站托管到了cloudflare,并且开启了一系列的防火墙安全设置,<span style="color: black;">引起</span>搜索引擎的请求被防火墙拦截,<span style="color: black;">没法</span>成功检索到<span style="color: black;">咱们</span>的网站内容。<span style="color: black;">这儿</span><span style="color: black;">供给</span>一种<span style="color: black;">处理</span><span style="color: black;">方法</span>,<span style="color: black;">能够</span>在cloudflare的WAF中自定义一条规则,参考如下图设置,放过合法的爬虫请求。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/5f04dc5e5bb744cf87acee5d2d5913d9~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=l30oIV%2B6R28VagoeL0LgSv9EB3A%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">2.<span style="color: black;">倘若</span>你的网站有不想被搜索引擎检索的页面,<span style="color: black;">能够</span>配置robots.txt进行说明,正规的搜索引擎平台都是会遵守这个规则的。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">能够</span>在Yoast SEO插件的”工具“页面中<span style="color: black;">运用</span>”文件编辑器“进行robots.txt编辑,<span style="color: black;">倘若</span>你想<span style="color: black;">认识</span>robots文件的<span style="color: black;">功效</span>和配置方式<span style="color: black;">能够</span>参考这篇<span style="color: black;">文案</span>:</p>https://ahrefs.com/blog/zh/robots-txt/,非常<span style="color: black;">仔细</span>!
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/b89753537407411083d6b933e392572c~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730060208&x-signature=PIolOge1SdwOzyaEYmBVr%2Ba20%2B8%3D" style="width: 50%; margin-bottom: 20px;"></div>
感谢楼主的分享!我学到了很多。
页:
[1]