龙光SEO:如何进行网页301跳转检查?

网站在很多情况下要进行301跳转,但是怎么检查网站是否进行了正确的301跳转呢?在网站上找了下301跳转检查的方法,写下来备用,呵呵 检测原理:通过请求原始页面地址,检测服务器响应代码(Http Header Code)。一般来说,进行了正确的301转向后服务器响应的Header中会出现HTTP/1.0 301 Moved Permanently,以及该页面最新地址的信息。 几个检测工具: 1、阿里妈妈网址header信息查询:http://tool.alimama.com/tools.php(打不开) 2、HTTP Status Codes Checker: http://www.seoconsultants.com/tools/headers.asp 检测举例: 1、查看baidu.com是否进行了301转向。利用工具HTTP Status Codes Checker,查询的结果是HTTP/1.1 200 OK Date: Fri, 02 Sep 2011 07:36:30,应该可以认为baidu.com并没有301转向到www.baidu.com 2、查看http://www.chiyoung.com.cn/是否进行了301转向: 1. REQUESTING: http://www.chiyoung.com.cn/ GET / HTTP/1.1 Connection: Keep-Alive Keep-Alive: 300 Accept:*/* Host: www.chiyoung.com.cn Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0) SERVER RESPONSE: HTTP/1.1 301 Moved Permanently Date: Wed, 31 Oct 2012 02:06:41 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Location: http://www.chiyoung.cn/ Content-Length: 233 Content-type: text/html 关于301跳转检查的方法先写这么多,如果发现新的更好的检查301跳转的内容再来补充,呵呵

posted on 2012-10-31 10:11  xieguang133  阅读(173)  评论(0编辑  收藏  举报

导航