在网站推广过程中都需要引导蜘蛛访问自己的网站,搜索引擎蜘蛛爬行的频率越高网站的权重也相应提高,在搜索结果的排名就越靠前。在博客上留言或在论坛上签名都是引导蜘蛛的好方法,这些都是通过链接来实现的,下面介绍自动识别搜索引擎蜘蛛并引导到指定网站代码,只需要在源码中插入就可以直接引导蜘蛛到指定网站。代码如下:
<script language="javascript"> var regexp=/\.(sogou|soso|baidu|google|youdao|yahoo|bing|118114|biso|gougou|ifeng|ivc|sooule|niuhu|biso)(\.[a-z0-9\-]+){1,2}\//ig; var where =document.referrer; if(regexp.test(where)) { window.location.href='www.fendou.info'; } </script>
有做短期淘宝客或链接买卖的同学可以试试!
“自动识别搜索引擎蜘蛛并引导到指定网站代码”上的12条回复
代码很伤脑筋
新手来此学习
过来学习一下嘿嘿 挺不错的
可以怎么用?JS虽然可以爬,但是也不太友好吧。
2265.com 安卓游戏下载
这个不错啊嘿嘿 学习下
Thanks for your sharing!After studying you site, your internet site is extremely useful for me .中
很受用,学习了
这个好像有点复杂吧。
先顶再看~~~~~~~~~~~~~!
Find a variety of stylish and affordable club wear and dresses on Dear-Lover.com, wholesale fashion clubwear at cheap price from China.嗯
Wholesale corsets website of worldwide famous top sexy lingerie and corsets manufacturer Shiying Sexy Lingerie Co., Ltd. Top quality wholesale corsets exhibition here.是