雅虎搜索对301、302重定向解释及处理方式

分类:网站推广 | lao8发表于 2008-7-10 9:48:00

很多的时候我们只知道网站更换域名或更换目录要进行301永久性重定向,为什么要这么操作,301永久性重定向的目的是什么,301定向与302定向的区别是什么?

yahoo官方给我们详细的解释:

这里要特别说明一下META Refresh转跳,雅虎给我们的解释是,如果没有明显的延迟META Refresh将会被作为302临时重定向来处理,而雅虎对于“明显延迟”并没有给出明确的值,老吧的建议是在5秒以上。

了解了这三种重定向的概念,下面我们来看看雅虎搜索引擎是如何处理不同重定向的网页的?

可以这么说,如果我们熟练掌握了下面不同转跳的处理方式将会给我们的工作带来极大的便利!!

redirect301-302

When a page in one domain redirects to a page in another domain, Yahoo! records the "target" URL

如果A域名的页面不管是以301还是302转跳到B网站的网页上,雅虎只会收录B网站的网页,也就是说这种方式可以在网站换域名上,但是A网站的网页不能全部转到B网站的同一个页面,这样会造成B网站的目标页不收录。

When a top-level page in a domain presents a permanent redirect to a page deep within the same domain, Yahoo! indexes the "source" URL.

这一条我们要注意一下了,如果网站的顶级目录页面A做了301重定向到更深目录的网页B,雅虎收录的将还是顶级目录的网页,比如:www.lao8.org/a.html 做了301重定向到 www.lao8.org/aaaa/a.html 虽然我们用的是301永久性重定向,但是雅虎机器人不是抓取A页,仍然抓取B页面。

When a page deep within a domain presents a permanent redirect to a page deep within the same domain, Yahoo! indexes the "target" URL.

不是顶级目录的A页面做301定向到其它目录B,则可以正常收录B页面。

When a page in a domain presents a temporary redirect to another page in the same domain, Yahoo! indexes the "source" URL.

而顶级目录的A页面做302定向到其它目录B,则收录的是A页面。

收藏到收藏夹

相关"雅虎搜索 301 302"文章


username(必填) email(必填) website

站内搜索

 

按分类归档

lao8 最新文章: