I have two languages for my website. So, by default, English should be loaded as my default language. Hence, there is no page at the root of
example.com, if the user visits
example.com, he/she would be redirected to
example.com/English (or another language if there is anything saved in the user's cookies), using an HTTP 302 Temporary Redirect.
My second language is Persian. I want to save the language selection of the user in a cookie. Hence, when the user visits
example.com, I first check if there is any language cookie, if set, then permanent-redirect the user to the site based on the user's preferences. It might be example.com/English or example.com/Persian.
I wonder if there is any problem with HTTP Permanent Redirection if it is about to change the destination. Also, I don't know what are the SEO implications of such redirection. Because, as you know, permanent redirection is way more SEO-friendly and I'm looking for a way to employ that. What should I do?