ec-doris / kohesio-frontend

Web interface for Kohesio project
https://kohesio.ec.europa.eu
8 stars 0 forks source link

Search engines index the Bulgarian homepage #904

Open madewild opened 5 months ago

madewild commented 5 months ago

See https://www.google.com/search?q=kohesio

raphdom commented 2 weeks ago

If there is no browser language detected, it is redirecting to the first language.

The easy test to detect it is do a curl directly in the website:

curl http://kohesio.ec.europa.eu

madewild commented 2 weeks ago

Is there a way to force english with a HTTP redirection from http://kohesio.ec.europa.eu/ to http://kohesio.ec.europa.eu/en/ ?

raphdom commented 2 weeks ago

We are doing this already, in the client browser, but this is the bot of google indexing the results

madewild commented 2 weeks ago

europa.eu is not having this problem so there must be a way... I don't see anything in their robots.txt though

raphdom commented 2 weeks ago

yeah, there is a way, I put here a comment how I can reproduce the problem, now I know that we should control better the redirection, I mean: