ultrabug / mkdocs-static-i18n

MkDocs i18n plugin using static translation markdown files
https://ultrabug.github.io/mkdocs-static-i18n/
MIT License
237 stars 38 forks source link

url changes after update to v1 #247

Closed ChrisBlankDe closed 1 year ago

ChrisBlankDe commented 1 year ago

With v0 my site was reachable with 3 urls: https://whatever.tld/index.html https://whatever.tld/en/index.html https://whatever.tld/fr/index.html

after the update to v1 only the urls exist: https://whatever.tld/index.html https://whatever.tld/fr/index.html

--> the folder of the default language was removed. this may be good to save storage/render time/..., but due to automatized external links i am dependent on my site being accessible in the default language under /en/.

do you have any idea how i can get this solved with v1

hhslepicka commented 1 year ago

I am running into the same problem with the default language folder not being available anymore.

ultrabug commented 1 year ago

Hi

Indeed, SEO hates duplicate content and the default language path was causing the code to be more complex than it should.

The v1.0.0 rationale stipulated the removal of the default language path, I guess I should have made that more clear I'm sorry.

hhslepicka commented 1 year ago

@ultrabug thank you for all the great work on the v1.0.0. On my side, I managed to adjust my URLs, and all is good now. I should have paid more attention to the release notes.

kamilkrzyskow commented 1 year ago

Possible band-aid solution could be redirects:

ultrabug commented 1 year ago

Thanks for sharing those options @kamilkrzyskow ; closing here