给网站外链进行重定向跳转,网站重定向跳转
在Emlog的评论功能中,留言者可以填写自己的网站地址。但是很多时候我们不希望自己的网站存在过多杂乱的外部链接。当然,我们可以为链接加上nofollow属性。即本来链接代码是
当我们给这个链接加上rel="nofollow"属性时,即告诉搜索引擎此链接地址不要传权重过去。形如:
而这里,一路上跟 大家分享的是,将外链地址进行重定向。即如果外链地址是http://www.100sucai.com,通过重定向,则变成http://你的网站地 址/go.php?url=http://www.100sucai.com 依然是访问目标网站http://www.100sucai.com
首先下载go.zip文件解压出go.php文件上传到你的网站的根目录,然后将go.php中的http://www.100sucai.com替换成你的网站地址。最后,你只需要 在自己网站中把想要转换的链接地址由
将其替换成:
即可完成对Emlog博客评论者网址链接的重定向转换。进一步的,你也可以在跟目中打开robot.txt添加以下代码从而拒绝重定向的外部链接被搜索引擎索引到!: Disallow: /go.php?url=*
补充说明:打开go.php,你还可以设置是否是直接跳转,$directGo设置为false,则以一个框架加载外链网页。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SublimeText3 Linux new version
SublimeText3 Linux latest version

Atom editor mac version download
The most popular open source editor

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 Mac version
God-level code editing software (SublimeText3)