I have a multi language website for my company.
my language routing goes like
example.com/[language]. I have 2 languages, and my URLs are
example.com/ redirects to
example.com/en are counted as the same URL, so google chooses to rank
example.com/ and exclude
example.com/en is included in the sitemap and
example.com/ is not.
the problem here is now
example.com/ is not counted as an only
en URL although it does redirect to the
/en, so now in the search results
example.com/ (which redirects to
en) will appear on top disregarding the language of the user.
I could not see an option to exclude the root URL anywhere, and google indexed it although it is not included in the sitemap. How can I overcome this?