Written in December, 2004.
Yahoo! has recently “fixed” the way their search engine handles redirects. There’s been a lot of confusion lately about how Yahoo! handles redirects, and I thought I would make this information available so that you begin to understand when and where you would use either the 301 Permanent Redirect or the 302 Moved
Temporarily redirect. In most cases, I highly suggest that you use a 301 Permanent Redirect.
The following table shows the source url, the type of redirect, the target url, and how Yahoo! handles it.
|
|||
domain1.com |
301 Permanent Redirect |
domain2.com | Redirects between domains: Yahoo! keeps the “target.” |
|
|||
domain1.com | 301 Permanent Redirect ================> |
domain1.com/asp?y=1 | Permanent Redirects within a domain: Yahoo! keeps the “source”, if it is a root, and the “target” if the redirect is between deep pages. |
|
|||
domain1.com/page1 | 301 Permanent Redirect ================> |
domain1.com/asp?y=1 | Permanent Redirects within a domain: Yahoo! keeps the “source”, if it is a root, and the “target” if the redirect is between deep pages. |
|
|||
domain1.com/page1 | 302 Moved Temporarily ================> |
domain1.com/asp?y=1 |
Temporary Redirects within a domain: |
|
|||
Please note that this is a high-level overview of how Yahoo! handles redirects. In some cases, Yahoo! may elect to handle redirects differently. |