Add x-default tag to <head> for default/fallback locale #13361
Replies: 1 comment 5 replies
-
|
I didn't know this a few days ago, but I was asking myself the same question. This is not the first time someone reports odd results in Google, even here (#12238). On my side, I usually get French or English results but sometimes I get Arabic or Spanish results with no reasons... As I was saying on Discord, another thing to consider is the use of I mean I still think we should experiment with IIUC, this is something doable through a route data middleware so we don't need to override the I'll ping @delucis because he might have more information (if he's already explored this for Starlight), but I think it makes sense to experiment this for docs. But it's also possible that it's just a Google issue (on their end I mean)... I don't remember seeing that with other search engines. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, there is no
x-defaulttag in the for the documentation pages. This would define a default or fallback locale for when a suitable language could not be found by search engines.Relevant chats:
I believe this could be the reason why some people see irrelevant translations getting returned in SERP. I, for example, often see Italian and Arabic docs in my search results. My browser language is set to
en, and my location isnl.I'm suggesting adding a
x-defaultto the with the value of the English version of the page to hopefully solve this issue.Beta Was this translation helpful? Give feedback.
All reactions