With redirect code should I use to redirect geoinformation languages?

I have this url: http://example.com/website/ , then I check the user's country based on the geoid and redirect it to: http://example.com/website/en/ , http://example.com / website / pt / etc.

Should the Witch code be used for this 301, 302 or other redirect?

amuses

0


source to share


2 answers


You should upgrade from 307 Temporary Redirect :

The requested resource is temporarily under a different URI. Because the redirection MAY be changed, sometimes the client MUST continue to use the Request-URI for future requests.



This way you won't run into bags of search engines clearing the page.

+1


source


I would go with 303 See Other .



0


source







All Articles