I would like to understand what is the best system for a multilanguage website
I have website with this structure
domain.net/en
domain.net/de
domain.net/it
If a user or a search engine accceses directly domain.net then the system would detect the language and redirect them to the most appropriate website version.
The system uses Geo IP to detect the location of the user, it also uses the browser languages and it sets cookies and sessions (if user has previously accessed the website and set the language)
My question is relative to the redirect. Would such a system be fine?
At the moment if the system detects the user as "english" it redirects them with header 301 (permanently moved)
If the system detects the users as italian or german it redirects them using header 302 to the corresponding subfolder