I have a website in 2 languages.
The language on the sub pages isn´t my issue because they are unique and have the language in the url, /en/ for example.
The homepage on the other hand, example.com, knows what language the use throught this script:
substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
So example.com is the same as either example.com/en/ or example.com/nl/ depending on the default language of the users browser.
Is this bad for search engine (optimization)? what would you advice to do with this?