Timeline for Home page redirection (due to multiple language versions)
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 19, 2023 at 14:42 | vote | accept | user3193620 | ||
Mar 9, 2023 at 10:39 | comment | added | Peter206 | This is how I made it, which is enough for my needs. But it is possible to make it more sophisticated, to switch by country. This is discussed e.g. here: stackoverflow.com/questions/19648241/… | |
Mar 9, 2023 at 8:59 | comment | added | user3193620 | so in that case example.com will always redirect all users to example.com/en ? | |
Mar 8, 2023 at 21:35 | comment | added | Peter206 | My point 2 addresses that point. It is probably better to use .htaccess with a rewriterule | |
Mar 8, 2023 at 17:41 | comment | added | user3193620 | Thank you for your suggestions. I would definitely prefer to redirect users based on IP or accepted language header. My only concern here is that example.com will be an empty page with just a javascript redirection. And it might be harmful from SEO point of view. | |
Mar 8, 2023 at 16:31 | history | edited | Peter206 | CC BY-SA 4.0 |
added 218 characters in body
|
Mar 8, 2023 at 16:25 | history | answered | Peter206 | CC BY-SA 4.0 |