SEO技术文章
黑色手段使用最多的seo代码
2010-08-28 来源:未知 责任编辑汇首时代 浏览字体【大 中 小】08年被一些黑色手段使用最多的seo代码(友情链接)使用代码从语句来判断,肉眼能看到链接,可是蜘蛛来的时候就自动屏蔽了链接。同时当同行去外链查询站查的时候,同时是可以查的。呵呵,无意当中查看以前的老文档,感觉很有意思所以和大家分享一下。所以交换链接的时候大家也要小心掉。不然你就只输出没导入了。呵呵。当然也有一些 *** 方式。大家可以在博客留言,我们一起探讨。
<%
function getbot()
'查询蜘蛛
dim s_agent
getbot=""
s_agent=request.servervariables("http_user_agent") '关键判断语句
if instr(1,s_agent,"googlebot",1) >0 then
getbot="google"
end if
if instr(1,s_agent,"baiduspider",1) >0 then
getbot="baidu"
end if
end function
if getbot="baidu" or getbot="google" then
response.write "蜘蛛来访去掉友情链接,嘿嘿hao123"
else
response.write "一般人看到了,友情链接正常显示<a target=_blank href="
end if
%>
上一篇:网站SEO学习方法与流程浅析
下一篇:没有了