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>
记录在案