Temporary Redirect

I found out tonight that the “HTTP 1.1/307 Temporary Redirect” header will cause IE 6.0 (but not 6.1) to die with a “DNS or Server not found” error message.

I recommend using “301 Moved Permanently” for permanently moved resources, and “302 Found” for a “working redirect” that’s a part of normal script operation. Always include a “Location:” header if you use either one, and always include one of them if you’re including a “Location” header. (Except in cases where you want to pass $_POST variables via a redirect.)

Leave a Reply

Comments are moderated like crazy using a variety of plugins. There is a very high likelihood that your comment won't show up right away, especially if you have never commented here before, but it was not deleted.

Please be patient, and do not post your comment more than once. It will show up once it is approved.

You must be logged in to post a comment.