4lqedz 发表于 2024-8-25 18:01:44

怎么样让网站快速被蜘蛛爬虫关注,怎么样良性地被搜索引擎收录


    <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>快速让搜索引擎收录网站。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">学习之前,先<span style="color: black;">熟练</span>一下一个协议,robots协议<span style="color: black;">亦</span>叫robots.txt(统一小写)是一种存放于网站根目录下的ASCII编码的文本文件,它<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>系统中的URL是<span style="color: black;">体积</span>写<span style="color: black;">敏锐</span>的,<span style="color: black;">因此</span>robots.txt的文件名应统一为小写。robots.txt应<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>将自定的设置合并到根目录下的robots.txt,<span style="color: black;">或</span><span style="color: black;">运用</span>robots元数据(Metadata,又<span style="color: black;">叫作</span>元数据)。robots协议并不是一个规范,而只是约定俗成的,<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>搜索的,自然是要先生成网站的sitemap(网站地图)文件,目的<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><span style="color: black;">选取</span>xml格式。</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/c341c2231b5e4003a7706c2d8b611b7d~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725102710&amp;x-signature=znl6XHDIWMuXlChXHoRdcSs%2Fsnc%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/98cbe3cada9c484990cc881a7a270d6e~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725102710&amp;x-signature=DZmsTzPD33Fl3OJY%2FJirtY3ASEc%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p26-sign.toutiaoimg.com/pgc-image/0e82a566d5814f12be4feeaa72201bdf~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725102710&amp;x-signature=M8lQU2WvmUZMjlCDAVMqXgNcT%2FE%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>http/https,输入待抓取的网站域名。继续<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/pgc-image/198dec99dad246a39e8ee0684c25a79a~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725102710&amp;x-signature=oz06%2BUK2txssVHKl8T6zVZhuQoE%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>。</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p26-sign.toutiaoimg.com/pgc-image/ed544b6d4d4a462981fc66485aef74c4~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725102710&amp;x-signature=GjH7O%2FM9Qfu2IuSaNHX2ealkeU4%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/pgc-image/a9fe690cfd8247ca8a1c077d385344df~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725102710&amp;x-signature=4v8qvgAKzR3Ack79KR8Dc3IrI%2Bw%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/pgc-image/d2008a9e608a42c68f61d034ae6d9dc6~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725102710&amp;x-signature=x62niAqLqrADa7683lDfAHX7%2B5k%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>说robot.txt 文件,其内容格式为:</p>
    <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>所有搜索引擎的抓取,2<span style="color: black;">表率</span> 这些目录不<span style="color: black;">准许</span>搜索引擎抓取,3<span style="color: black;">表率</span>读取xml文件。文件的格式明白了,就<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/pgc-image/77cc522d6db14f759a23358eccbadc15~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725102710&amp;x-signature=gnio3bF64E7OWoD8MY5%2BYerju3I%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://p26-sign.toutiaoimg.com/pgc-image/f6a726845dda488f99fd058ca1f25272~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725102710&amp;x-signature=KHI4qhvffWl7%2BpAzjAmuCQEOyVs%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/pgc-image/2de7916bca944f6d87903eaef6a4473b~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725102710&amp;x-signature=Yi8DGo1mPIRDVDbDzxRM949jXew%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>抓取的结果。</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/9776c32d749f47b0a26828ade242efb0~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725102710&amp;x-signature=590Gfuc5N2amZK9YIxIrRhMks1s%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/pgc-image/fd6f70a420f34dc5acf9c52c6649e177~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725102710&amp;x-signature=oyHsoW%2F%2Fiuh38kuAucEZt7bMA18%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/5f2d8c542e6d46dda6ddff7be16a4763~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725102710&amp;x-signature=4DVMdpFlv8exF36lc%2FXZ2FxVd1w%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><span style="color: black;">即时</span>地对网站进行修补完成,达到0抓取<span style="color: black;">反常</span>的效果。</p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/ae2c03ea077a452399bb6653e42bd626~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725102710&amp;x-signature=vOosUGXwGAVQYgrTONxnJL4huRM%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>重新生成sitemap文件并上传到网站的根目录,<span style="color: black;">这般</span>网站进入良性期,想不让搜索引擎抓取都不行。本期学习结束,咱们下期见吧!</p>




4lqedz 发表于 2024-10-2 16:23:01

感谢你的精彩评论,带给我新的思考角度。

b1gc8v 发表于 2024-10-6 12:05:17

“BS”(鄙视的缩写)‌

4zhvml8 发表于 2024-10-7 02:37:26

我深感你的理解与共鸣,愿对话长流。
页: [1]
查看完整版本: 怎么样让网站快速被蜘蛛爬虫关注,怎么样良性地被搜索引擎收录