i18n: Duplicate, submitted URL not selected as canonical
I have created a couple of multilingual websites using this module. However Google Search Console is warning me that the translated pages are not being accepted :
Duplicate, submitted URL not selected as canonical
When I check the canonical tags using Google Inspection URL tool they are apparently fine:

I also checked them using curl and they look correct. Until now I have been using the default detectBrowserLanguage settings, which means that I didn’t specify these settings. I suspect that this options may be generating SEO issues.
Has anybody experienced any indexing issue? Should I disable this redirect option with detectBrowserLanguage: false?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17
That’s the plan for the next major version since it’s a breaking change.
Hello,
Yes, indeed redirection causes that duplicate error. You need to enable
onlyOnRootand wait until Google will reindex.Thanks!
If you don’t need the functionality that
detectBrowserLanguageprovides then as far as google is concerned, this is the best option.Yes!
Not sure. Would need to have enough time and plan first. I’ll create new issue for it.
Have you enabled the SEO features as described in https://i18n.nuxtjs.org/seo ? Without that the canonical tag is not added at all.
Hello,
Where? You haven’t shown where you get that error, there should be complete information that you didn’t provide at all.
No issues, you need to enable
onlyOnRootas well and have read the documentation at least which covers almost everything.Thanks!