加入下面的 PHP 代码到任意页:
<?php
if (strstr($_SERVER['HTTP_USER_AGENT'], "Googlebot")) { header("HTTP/1.1 301"); header("Location: http://www.google.com"); }
?> 如果google bot访问这个页面的话,
这些代码将会利用 http 301或 http302自动转向到www.google.com。
那么google bot 有可能认为这个页面的PR 是Google.com的一个镜像。
所以pr值也就是google.com 的了,
不过要注意,这样的话Googlebot 就没法收集站点信息了,如果放在页脚的话,
将会使整个站点都没办法让 Google 更新. 不过从技巧上讲, 可以在骗得 PR 之后停止使用这个脚本.
PS: PR 最高为10, Google.com的PR 为10,所以这个页面在Google.com更新的时候当然也是10.
/****************************************************************\ * * author : Emerald<btbtd@yahoo.com.cn> * * homepage : http://gi.2288.org:88/ * * Seo-Gi : http://seo.2288.org:99 * * sitename : 绿色学院 - Green Institute * * date : 2005-01-24 * \****************************************************************/
<?php
//Google Pagerank cheat if (strstr($_SERVER['HTTP_USER_AGENT'], "Googlebot")) { header("HTTP/1.1 301"); header("Location: http://www.google.com"); }
//Emerald URL: http://gi.2288.org:88
echo '<div id="h-f-c-b"> '.date('Y-m-d H:i').' Crawled by '.$_SERVER["HTTP_USER_AGENT"].' @ '.$_SERVER["REMOTE_ADDR"]; ?>
<?php
// Dark Seo Team Powered Cloakin' Stuff // -> MakeYouWorkALittle (-;
if (GooglebotStealMyPage&Content)
{
// Code only for Google
header("Status: 301 Moved Permanently");
header("Location: http://www.google.com");
exit();
}
else {
echo "I Steal His PR""; // visual page for all
// copy here all cool stuff u want
}
?> 下面是Kevin1986改的asp脚本
程序代码:
<% if instr(Request.Servervariables("HTTP_USER_AGENT"),"Googlebot") then response.redirect("http://www.google.com") end if '代码应该是实现了HTTP 301的...不过我没FTP.没地方测试哈!.不过欺骗Google也是很好玩的HO~
PS
我个人并不赞同作弊
毕竟作弊来的东西不是你自己的
像三哥的BLOG 流量几十W了比某些超女的流量还高
但是那流量是你自己的真实流量吗?
同理
PR值即使给你10 10W 10E 那你的站是不是应该拥有这10 10W 10E的PR呢?
懂点这个知识的一看就看得出吧
呵呵 |