Forum Moderators: phranque

Message Too Old, No Replies

when to use 302, 301?

when do you use 301, 302 redirection etc.?

         

ganeshgrowth

6:34 am on Oct 20, 2009 (gmt 0)

10+ Year Member



I've see 302 re-directions in use with blogs, forums to reach another website referenced in the post.

Is this the right way to do it?

Are the references not permanent ones? So, why use 302 here? why are they considered better then 301?

bill

8:14 am on Oct 20, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Have you read through any of our past threads on the topic [google.com]?

ganeshgrowth

11:35 am on Oct 20, 2009 (gmt 0)

10+ Year Member



No none of them seem to answer them. Can someone pls refer the exact post

phranque

1:24 pm on Oct 20, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



this thread may address some of your questions:
[webmasterworld.com...]

ganeshgrowth

1:46 pm on Oct 20, 2009 (gmt 0)

10+ Year Member



There was lot of information there, but again my question is not from google.com's Pagerank view.

I need to know what's the most ideal way of redirecting and when it's to be used and why.

Please forget "Ranking in SERP", and "Increasing Pagerank" when replying :)

g1smd

2:11 pm on Oct 20, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



As an SEO forum, that's the major consideration in choosing which one.

Use the 301 redirect unless you know of a VERY good reason to use a 302 or 307.

Avoid both 'meta refresh' and javascript 'location href' redirects unless you can think of a VERY VERY good reason to use it instead of the HTTP 301 redirect.

phranque

3:06 pm on Oct 20, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



for the best description of when and how to use these redirection responses, i would refer to the HTTP specification:
[w3.org...]

301 Moved Permanently
The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs.

302 Found
The requested resource resides temporarily under a different URI. ...the redirection might be altered on occasion...

ganeshgrowth

6:29 am on Oct 21, 2009 (gmt 0)

10+ Year Member



this is exactly what I was looking out for.

thankyou very much everyone