Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hreflang #61

Open
longlu opened this issue Jan 10, 2022 · 0 comments
Open

hreflang #61

longlu opened this issue Jan 10, 2022 · 0 comments

Comments

@longlu
Copy link

longlu commented Jan 10, 2022

https://developers.google.com/search/docs/advanced/crawling/localized-versions

can you add hreflang links for multilingual sites describe above? this will help google tell the relationship between translated pages and original content.

If you add hreflang , these will be the language code used:
https://developers.google.com/admin-sdk/directory/v1/languages

for example, if the language is Portuguese (Brazil) , the code will be : pt-BR

as for url of other languages, it should be zdoc.com/br/ which is shorter, at the same time , the page need to tell google the hreflang and the language code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant