贝塔罗拉

如何验证网站301重定向

时间: 2010-05-14 / 分类: 网站建设 / 10个评论 发表评论

正如上一篇日志中写道,《逐末网志》已经变成了《贝塔罗拉》,域名也随之变更,怎么才能最大程度的保证原有网站的权重呢?最好的办法就是301永久重定向了。

关于如何301重定向,尤其是针对wordpress的,我会在下篇日志中介绍,本文重点是验证301重定向

验证301重定向,我这里推荐使用URI Valet这个网站,如图所示输入你原来的域名信息,然后选择GoogleBot,然后submit就可以了。

验证301重定向

返回以下数据:

1. REQUESTING: http://jomor.org

HEAD / HTTP/1.1

Connection: Keep-Alive

HOST: jomor.org

User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

Accept: */*
SERVER RESPONSE: 301 Moved Permanently

Date: Fri, 14 May 2010 06:51:19 GMT

Server: Apache

Location: http://www.betarola.com/

Vary: Accept-Encoding

Keep-Alive: timeout=15, max=100

Connection: Keep-Alive

Content-Type: text/html; charset=iso-8859-1

Redirecting to http://www.betarola.com/ …

2. REQUESTING: http://www.betarola.com/

HEAD / HTTP/1.1

Connection: Keep-Alive

HOST: www.betarola.com

User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

Accept: */*
SERVER RESPONSE: 200 OK

Date: Fri, 14 May 2010 06:51:19 GMT

Server: Apache

Last-Modified: Fri, 14 May 2010 06:39:18 GMT

Accept-Ranges: bytes

Content-Length: 30682

Vary: Accept-Encoding

Keep-Alive: timeout=15, max=100

Connection: Keep-Alive

Content-Type: text/html

DESTINATION URI: http://www.betarola.com/

数据中SERVER RESPONSE: 301 Moved Permanently说明301永久重定向已经生效了,也就是说以后搜索引擎会把jomor.org的权重传递给www.betarola.com

本文链接: http://www.betarola.com/articles/vertify-301-redirect.html 转载请注明出处!