Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm curious what status code I should be using when redirecting a mobile browser that hits domain.com and is redirected to m.domain.com. I feel like a 301 (Moved Permanently) isn't quite right, but none of the others sound appropriate either.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

I would use 303 See Other myself, however 300 Multiple Choices (with a properly-formed body describing the various choices) might also be appropriate (although I've never used this myself so have no knowledge of how well-supported it is).

share|improve this answer

I'd go 302 which is pretty much the default redirect.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.