Open eaykutalp opened 3 months ago
Yes, as noted here, we do not currently expect to turn off the prefixDefaultLocale
setting. 🥲
This is because there is a part of the process that retrieves the user's language from the URL path.
https://astro-i18n-starter.pages.dev/en/setup/
However, if the URL does not contain /[lang]/
, the user is redirected through 404.html.
https://astro-i18n-starter.pages.dev/en/feature#404
For example, https://astro-i18n-starter.pages.dev/blog/first-post/ will redirect to https://astro-i18n-starter.pages.dev/en/blog/first-post/ .
Thank you for you feedback.
Isn't there a way to do this? I'm not a software developer, but I was going to look at your software and install multiple languages ​​in another template.
This is very important for SEO, so the root path must have a language.
hello dou you here?
I can't think of a way to fix this problem at this time, as it would require fixing it from the design roots. Save the Issue as a Future Request.
SEO
The root path (/index.html) is redirected, but and OGP are set for SEO.
Please check it by typing the following in the address bar of Chrome. view-source:https://astro-i18n-starter.pages.dev/
prefixDefaultLocale: false,
not working, help me thanks.