Repository navigation
Replies: 1 comment 4 replies
|
Each locale is built independently and emits its own sitemap; this is both a limitation of our architecture and can be considered a feature. This is so that we support deploying different locales to different URLs. Conceptually, you should treat each locale as an independent site—I'm sure this also helps with SEO because the search engine can handle each locale independently :) You can manually upload |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
(* StackOverflow: https://stackoverflow.com/questions/77479158 *)
I have a website made by docusaurus
2.0.0-beta.18. Initially it was in English, then I added Chinese version for many pages withi18. So a page likehttps://www.mywebsite.com/zh-CN/docs/a-pagedisplays well contents in Chinese.However, I just realized that 1) lots of Chinese pages are not indexed in Google; 2) none of the Chinese pages are in
sitemap.xml.Does anyone know how to fix the site map and help Chinese pages indexed by Google?
PS: (part of) docusaurus.config.js:
All reactions