docsy icon indicating copy to clipboard operation
docsy copied to clipboard

Add link rel="alternate" and hreflang to avoid localized duplicated results in organic search

Open theletterf opened this issue 2 months ago • 1 comments

I've noticed this issue when searching for OTel.io docs. Canonical (en) docs appear together with their localized versions:

Image

Google's recommendation is to use <link rel="alternate" hreflang="code">, but Docsy doesn't seem to handle that. I'm not entirely sure it'd be the solution, though.

Should we investigate this?

theletterf avatar Oct 14 '25 11:10 theletterf

Hello, @theletterf , @chalin ,I’d like to assist with this issue by enhancing the documentation with instructions and examples for usage in Docsy. Please let me know if this would be useful, and I’ll get started. Appreciate your guidance!

Shriya-23 avatar Nov 08 '25 14:11 Shriya-23