便宜做網(wǎng)站,不用客戶動(dòng)手特價(jià)999元,源碼整套僅需50元起

SemrushBot爬蟲用robots.txt文件封禁,效果顯著
國外有幾個(gè)爬蟲,是真的很煩人,畢竟他沒有多少用戶,還抓取抓取中文網(wǎng)頁,對(duì)于網(wǎng)站來講意義不大。于是昨天因?yàn)榭蛻舴?wù)器上卡頓,所以索性幫他進(jìn)行了屏蔽。
今天看日志,semrush爬蟲果然是老實(shí)了,如下圖所示:
網(wǎng)站的訪問量,下降很多,爆贊!
主要封禁的是:MJ12bot、SemrushBot、AhrefsBot。robots.txt文件如下,大家可以做個(gè)參考:
User-agent: MJ12bot
Disallow: /
User-agent: SemrushBot
Disallow: /
User-agent: SemrushBot-SA
Disallow: /
User-agent: SemrushBot-BA
Disallow: /
User-agent: SemrushBot-SI
Disallow: /
User-agent: SemrushBot-SWA
Disallow: /
User-agent: SemrushBot-CT
Disallow: /
User-agent: SemrushBot-BM
Disallow: /
User-agent: SemrushBot-SEOAB
Disallow: /
user-agent: AhrefsBot
Disallow: /
User-agent: DotBot
Disallow: /
User-agent: Uptimebot
Disallow: /
User-agent: MegaIndex.ru
Disallow: /
User-agent: ZoominfoBot
Disallow: /
User-agent: Mail.Ru
Disallow: /
User-agent: BLEXBot
Disallow: /
User-agent: ExtLinksBot
Disallow: /
User-agent: aiHitBot
Disallow: /
User-agent: Researchscan
Disallow: /
User-agent: DnyzBot
Disallow: /
User-agent: spbot
Disallow: /
User-agent: YandexBot
Disallow: /


本文作者:野狼SEO團(tuán)隊(duì)

十六年網(wǎng)站建設(shè)相關(guān)經(jīng)驗(yàn)
一站式為您提供網(wǎng)站相關(guān)服務(wù)
歡迎掃碼咨詢
-
永易搜科技的評(píng)論:
0
semrushbot國內(nèi)的網(wǎng)站,不要讓他爬,沒多大意義的管理員回復(fù):對(duì)的2023-12-14