qgis / QGIS-Website

QGIS-Website
129 stars 285 forks source link

Homepage redirect sometimes avoids preferred language. #1174

Open InsertUser opened 11 months ago

InsertUser commented 11 months ago

Description

When attempting to access qgis.org I am sometimes redirected to https://qgis.org/es/site/ .

According to the Firefox inspection panel the request header has the language preference set to Accept-Language: en-GB,en;q=0.5 and https://www.iplocation.net/ correctly identifies by current IP as being in The Bahamas, an English speaking country. Repeating this in Chrome Incognito and Firefox private is now giving the correct response with similar headers, but given that I have never been in a Spanish speaking region with this computer and the bad redirect appears to be new why would the site ever send a HTTP/3 301 Moved Permanently redirect to the Spanish site when all request information has always pointed to an English speaking visitor?

Page URL: qgis.org

agiudiceandrea commented 9 months ago

See also https://lists.osgeo.org/pipermail/qgis-developer/2023-September/066094.html and following messages.

andreasneumann commented 9 months ago

I can confirm that this issue of random languages exists - actually since quite a while (can't tell exactly when) - but at least several years.

agiudiceandrea commented 9 months ago

@andreasneumann , closed by mistake?

andreasneumann commented 9 months ago

Yes, indeed - wanted to comment instead of closing.