思想之地更换新域名http://be-evil.org [杂七杂八]
post by 朦朧中的罪惡 / 2008-6-4 21:11 Wednesday
思想之地更换新域名http://be-evil.org
原域名http://be-evil.org停止使用
为了保留所有的搜索引擎收录,我必须做301永久重定向设置,这样访问原域名下的日志地址时将自动重定向到新域名的地址上.
本来想用Apache的301重定向来实现的,结果我的博客绑定的是2级域名和2级目录,服务器管理后台无法实现服务器重定向.
还好Linux空间支持.htaccess文件实现重定向,写好规则后用301重定向工具检查了一下,一切OK!
SEO Consultants Directory Check Server Headers - Single URI Results
Current Date and Time: 2008-06-04T06:07:42-0700
User IP Address: ##1 Server Response: http://be-evil.org/showlog-24.html
HTTP Status Code: HTTP/1.1 301 Moved Permanently
Date: Wed, 04 Jun 2008 13:07:26 GMT
Server: Apache/2.0.61 (Unix) mod_ssl/2.0.61 OpenSSL/0.9.7a FrontPage/5.0.2.2634 PHP/5.2.5
Location: http://be-evil.org/showlog-24.html
Content-Length: 383
Connection: close
Content-Type: text/html; charset=iso-8859-1
Redirect Target: http://be-evil.org/showlog-24.html
原地址.htaccess文件重定向设置
Redirect permanent / http://be-evil.org/
博客整体迁移成功!以后用http://be-evil.org/就能访问思想之地了
标签: 原创



引用: