最近正在研究APACHE下网站301跳转的相关内容,
做301跳转的好处自然不言而喻,不仅规范了网址也可以增加跳转后域名的权重还能避免出现重复页面,同时也建立了域名的品牌效应,别人一看都跳到了另一个域名上肯定记住了这个域名。
代码如下:
- RewriteEngine On
- rewritecond %{http_host} ^ixian.cn [nc]
- rewriterule ^(.*)$ http://www.ixian.cn/$1 [r=301,nc]
cn域名各个状态说明:
以client开头的状态表示由客户端(注册商)可以增加的状态
以server开头的状态表示服务器端(CNNIC)操作增加的状态
既不以client开头也不以server开头的状态由服务器端管理
域名的状态解释:
ok 正常状态 阅读全文…
http://web.archive.org/web/*/http://sunle.net
<script language="javascript">
var newdomain="www.sunle.net"; //新域名,例如说跳到 www.sunle.net
var stoptime=0; //页面停留时间,以秒为单位
var My_Url=document.location.href;
godomain();
function godomain()
{
var str=My_Url;
stag=str.indexOf('//')+1;
str=str.substring(stag+1,str.length)
stag=str.indexOf('/');
rstr=str.substring(0,stag);
olddomain=rstr;
My_Url=My_Url.replace(olddomain,newdomain);
setTimeout("gourl()",stoptime*1000);
}
function gourl()
{window.location=My_Url;}
</script>
1 http://www.baidu.com/ 百度顶级域名
2 http://post-js.baidu.com/ 百度贴吧
3 http://bbs.baidu.com/ 百度贴吧
4 http://tieba.baidu.com/ 百度贴吧
5 http://wapp.baidu.com/ 百度贴吧(WAP版)
6 http://post.baidu.com/ 百度贴吧(常用)
7 http://ix.baidu.com/ 百度mp3搜索
8 http://mp3search.baidu.com/ 百度mp3搜索
9 http://mp3.baidu.com/ 百度mp3搜索
10 http://imgnews.baidu.com/ 百度图片搜索 阅读全文…
很多朋友经常会忘记域名管理地址,也忘记在哪个服务器商申请的
大家可以试试下面地址.希望大家能用到
一、选择注册商和代理商:
1、万网:http://www.net.cn
2、易名:http://www.ename.cn
3、新网互联:http://www.dns.com.cn
4、商务中国:http://www.bizcn.com
5、新网数码:http://www.xinnet.com
6、中国频道:http://www.onlinenic.com/chinese/
7、国域网:http://www.66.cn
8、中资源:http://www.zzy.cn 阅读全文…