3

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.

2 Answers 2

1

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).

0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .