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

Browser language is not considered/respected #158

Open
kelson42 opened this issue Aug 7, 2022 · 9 comments
Open

Browser language is not considered/respected #158

kelson42 opened this issue Aug 7, 2022 · 9 comments

Comments

@kelson42
Copy link
Collaborator

kelson42 commented Aug 7, 2022

My language browser configuration is French (privileged content language). But if I type https://kiwix.org in the browser, this is the English version which is delivered https://www.kiwix.org/en/. It should be https://www.kiwix.org/fr/

@martin8032
Copy link
Collaborator

To my knowledge, the automatic redirection to a specific language has negative implications on the Google index:

https://wpml.org/documentation/getting-started-guide/language-setup/automatic-redirect-based-on-browser-language/how-browser-language-redirect-affects-google-indexing/

@kelson42
Copy link
Collaborator Author

kelson42 commented Oct 14, 2022

Primary I'm concerned it works fine for users. If google does bul****, we should not follow it on this.

@martin8032
Copy link
Collaborator

There is no reason to blame Google in this case. If you install a redirect, the Google Bot is redirected as well (to the EN version, that is, missing out the other languages).

@kelson42
Copy link
Collaborator Author

To fix the problem, what should be done in Wordpress?

@martin8032 martin8032 removed the bug label Oct 18, 2022
@martin8032
Copy link
Collaborator

Citing the source mentioned above: «This is related to how Google works and not to how the language redirect is implemented in WPML.»

@kelson42
Copy link
Collaborator Author

kelson42 commented Oct 18, 2022

I don't mean Google, this is not my job. I mean this ticket. If WPML can do a redirect based on browser language, we should use it please.

@martin8032
Copy link
Collaborator

I disagree. Making sure that Google is indexing all of our language versions is much more important, especially if we have the strategic goal to reach more people outside the English-speaking countries. (And the redirection makes even less sense since our translations are far from complete and up-to-date.

@kelson42
Copy link
Collaborator Author

kelson42 commented Oct 18, 2022

Google will index things properly, my guess. We have such a system since 10 years on wiki.kiwix.org and nobody has ever complained. I made a brief check with two browsers in different languages and all looks good.

The link you have given seems pretty old and the author basically says that he has no clue how Google search engine works and what will be the exact impact of doing this. He just not want to be blamed if google does bul****.

@martin8032
Copy link
Collaborator

The information may be old, but according to my experience it's absolutely correct. We have actived the language redirect on the W****** website recently, and as a consequence the German language version was removed from the Google index. I will not make the same mistake again.

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

No branches or pull requests

2 participants