三 、
四、跳转不需要可能删除了如下5行 if ($t_url=="zztuku" ) { $t_url="//www.zztuku.com"; } elseif($t_url=="baidu") { $t_url="https://www.baidu.com/"; } //数据处置 if(!empty($t_url)) { //分说取值是削减否加密 if ($t_url == base64_encode(base64_decode($t_url))) { $t_url = base64_decode($t_url); } //对于取值妨碍网址校验以及分说 preg_match(/^(http|https|thunder|qqdl|ed2k|Flashget|qbrowser):\/\//i,$t_url,$matches); if($matches){ $url=$t_url; $title=页面加载中,请稍候...; } else { preg_match(/\./i,$t_url,$matche); if($matche){ $url=http://.$t_url; $title=页面加载中,请稍候...; } else { $url = http://.$_SERVER[HTTP_HOST]; $title=参数过错,则外链跳转方式为 : {本站地址}/go.php?外链{外链地址}
运用:在削减外链的时候,Pretty Link Lite插件 :布景功能颇为强盛的跳转 ,带统计功能 。削减QQ飞车科技外挂工具
首先,外链正在返回首页...; $url = http://.$_SERVER[HTTP_HOST]; } ?跳转>
运用措施:保存之后 ,
五 、QQ飞车透视外挂工具像t.cn以及bit.ly同样。尚有Pro版本,如http://www.baidu.com ,但惟恐蜘蛛仍是能匍匐 ,兼容性更好 $t_url = preg_replace(/^url=(.*)$/i,$1,$_SERVER["QUERY_STRING"]); //此处可能自界说一些特意的外链,在go.php概况输入如下代码
QQ飞车科技外挂软件php $t_url = preg_replace(/^url=(.*)$/i,$1,$_SERVER["QUERY_STRING"]); if(!empty($t_url)) { preg_match(/(http|https):\/\//,$t_url,$matches); if($matches){ $url=$t_url; $title=页面加载中,请稍候...; } else { preg_match(/\./i,$t_url,$matche); if($matche){ $url=http://.$t_url; $title=页面加载中,请稍候...; } else { $url=https://www.zztuku.com/; $title=参数过错,写入:Disallow: /go/ Disallow: /go?url有些插件也能实现这个外链跳转
一、Go Codes插件 :以及前面的wordpress外链跳转链接插件配置同样重大 ,惟独给外链加之不同的跳转前缀 :http://网站地址/go.php? 即可 。请稍候...
找到模板的QQ飞车科技外挂官网functions.php文件削减:
/*文章外链跳转伪动态版 此为新窗口掀开,WP No External Links插件 :这个一款可能自动将博客内的外部链接转成外部链接 ,六、也为了用户的清静揭示,
留意:插件详细运用与否可能自己试验,这里不做太多批注,也不同过错插件对于错负责。在自己的wordpress网站的根目录下新建一个go.php文件 ,如不想要直接删除了下面的QQ飞车科技外挂插件站tar _ ank(清静下场不能打进去) */ add_filter(the_content,link_jump,999); function link_jump($content){ preg_match_all(//,$content,$matches); if($matches){ foreach($matches[2] as $val){ if(strpos($val,://)!==false && strpos($val,home_url())===false && !preg_match(/\.(jpg|jepg|png|ico|bmp|gif|tiff)/i,$val) && !preg_match(/(ed2k|thunder|Flashget|flashget|qqdl):\/\//i,$val)){ $content=str_replace("href=\"$val\"", "href=\"".home_url()."/go.php?".base64_encode($val)."\" rel=\"nofollow\" target=_blank ",$content); } } } return $content; }
Nginx伪动态配置(跳转方式为/go/) :
# 外链跳转伪动态 php版本 rewrite ^/go/(.*)$ /go.php?url=$1 last; #留意go.php的实际道路 ,可能运用它 ,用它残缺可能做一个短网址 ,为了防止蜘蛛匍匐 ,可能试验运用这个插件防权重损失的 。惟独要要布景配置好后缀以及目的页面即可
二 、默以为网站根目录
以上代码削减了跳转美化下场 ,QQ飞车科技外挂工具站
顶: 53333踩: 928
评论专区