問:國內主機供解析二級域名被收錄怎么辦?如何防止?
答:您好:
可以通過偽靜態規則實現屏蔽
2003/linux系統
RewriteCond %{HTTP:Host} test.gotoip1.com
RewriteCond %{HTTP_USER_AGENT} (baiduspider|googlebot) [NC]
RewriteRule ^(.*)$ – [F]
2008系統web.config
<rule name="Block spider" stopProcessing="true">
<match url="(.*)" ignoreCase="false" negate="false" />
<conditions>
<add input="{HTTP_HOST}" pattern="^test.gotoip1.com$" />
<add input="{HTTP_USER_AGENT}" pattern="baiduspider|googlebot" />
</conditions>
<action type="AbortRequest" />
</rule>
非常感謝您長期對我司的支持!
問:額。用robots協議可以屏蔽嗎
答:您好:
robots實現不了,非常感謝您長期對我司的支持!