302's within a site

Discussion in 'Site & Server Administration' started by SEbasic, May 25, 2005.

  1. #1
    We all know about the issue of the dreaded 302 redirect from one site to another, I was just wondering if anyone had any experience when it comes to 302's being used from one page in a site to another page within the same site.

    For instance...

    site.com/directory/ redirecting the user to
    site.com/directory/default.html

    (Don't ask why it's like that) :rolleyes:

    Any help is most appreciated.

    Cheers
     
    SEbasic, May 25, 2005 IP
  2. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #2
    302 or 303 is what you would normally use for things like a receipt page after the customer has completed an order form. This way the customer can refresh the receipt page all they want without ending up submitting multiple orders.

    There are other uses of 302 within a website as well. You may temporary promotional pages, temporary under construction pages, etc.

    J.D.
     
    J.D., May 25, 2005 IP
  3. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I understand that, but what I wanted to know, was whether or not Google will have a problem with the use of a 302 if it's within the same site?

    Thanks for the response

    (I guess this should actually be in the google forum).
     
    SEbasic, May 25, 2005 IP
  4. NetMidWest

    NetMidWest Peon

    Messages:
    1,677
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #4
    NetMidWest, May 25, 2005 IP
  5. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If Google doesn't have a problem following hijacking redirects, it surely won't have one following those within your domain :) Seriously, though, 302 is just a way to redirect clients so that the response is handled in a certain way by all parties (e.g. no caching by the proxies, etc). I can't imagine why would any SE punish any website for using 302 within the same domain.

    J.D.
     
    J.D., May 25, 2005 IP
  6. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Neither can I. But I also can't see any reason for them to punish sites that have 302's pointing to them.

    This is wy I wanted to check on whether there could be any adverse effects.
     
    SEbasic, May 25, 2005 IP
  7. NetMidWest

    NetMidWest Peon

    Messages:
    1,677
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #7
    They aren't punishing... Google is flawed, and they refuse to fix it.
     
    NetMidWest, May 25, 2005 IP
  8. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #8
    There's a reason why Google isn't "fixing" this problem. Without establishing domain ownership, there is really no reliable way to determine whether a redirection code is used illegitimately. Most HTTP servers will use 302 for redirection if no explicit code is specified (e.g. Response.Redirect in ASP, [R] in mod-rewrite, etc), so there are tons of legitimate domains that will return 302 pointing to a domain alias.

    J.D.
     
    J.D., May 25, 2005 IP
  9. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Agreed 100%, but that doesn't negate the fact that we as webmasters still have to deal with the issue, because of a few wankers.

    I guess life's like that though. :rolleyes:
     
    SEbasic, May 25, 2005 IP
  10. debunked

    debunked Prominent Member

    Messages:
    7,298
    Likes Received:
    416
    Best Answers:
    0
    Trophy Points:
    310
    #10
    I am trying to use a 302 redirect to retreive all of the search engine ranking of a site that was given to me. The owner doesn't remember his password since he let it sit so long. Now a competitor is doing the same thing and has a redirect going also!!! Scum!

    I received the site legitimately and this guy at golf ball zone is trying to hijack!!!
     
    debunked, May 25, 2005 IP
  11. Blogmaster

    Blogmaster Blood Type Dating Affiliate Manager

    Messages:
    25,924
    Likes Received:
    1,354
    Best Answers:
    0
    Trophy Points:
    380
    #11
    Blogmaster, May 25, 2005 IP
  12. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #12
    302. This is how most login pages are done.

    J.D.
     
    J.D., May 25, 2005 IP