SEO Configuration Issue with Ignoring Localized Routes #2908
DidoMarchet
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I need to exclude a few pages from some locales and prevent hreflang tags from being created for them.
I'm struggling to figure out how to do this, but I found this guide on Ignoring Localized Routes: https://i18n.nuxtjs.org/docs/guide/ignoring-localized-routes. I have three locales ['it', 'en', 'en-us'] and I'm trying to enable only 'it' and 'en' for the page with the following setup:
This should remove ['en-us'].
Here is my head configuration:
I expected that this would remove the en-us hreflang and SEO references, but it hasn’t.
So, how can I prevent rendering i18n SEO attributes for certain locales to avoid SEO issues from crawlers?
Any suggestions would be appreciated!
Thanks and kind regards,
Davide
Beta Was this translation helpful? Give feedback.
All reactions