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

Closed madewild closed 2 months ago

madewild commented 9 months ago

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

raphdom commented 4 months 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 4 months 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 4 months ago

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

madewild commented 4 months 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 4 months 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:

madewild commented 3 months ago

@raphdom the situation on Google seems to be better, I still see BG but also other languages depending on the browser/Google language settings. Do you still have something to implement or can we consider this fixed?

raphdom commented 3 months ago

We still have the problem Screenshot 2024-09-03 at 16 23 14

madewild commented 2 months ago

@ntorbev you mentioned you fixed it? please close if so