IIS7/8/10web.config规则实现百度蜘蛛访问后台(或某一个页面)就跳转到首页
当蜘蛛抓取admin.php时会自动跳转到首页或某一个页面
<rule name=”Block spider” stopProcessing=”true”>
<match url=”^admin.php” />
<conditions>
<add input=”{HTTP_USER_AGENT}” pattern=”baiduspider|Baiduspider-render” ignoreCase=”true” />
</conditions>
<action type=”Redirect” url=”http://blog.tag.gg/” appendQueryString=”false” />
</rule>
记录在案









![[原创]Centos 6.5 linux系统如何安装 tomcat 7.0_西数超哥博客](https://www.ysidc.top/wp-content/uploads/2018/12/b689de01c730c546134509676924abed-480x300.jpg)

