You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Blowfish already outputs alternate language links in sitemap.xml, but not in the HTML head.
Google accepts sitemap-based hreflang, so this is not a critical SEO bug. Still, adding hreflang alternates to the page head would make multilingual output more complete and easier to validate in page source and external SEO checks.
I tested this on a multilingual site with a small local override using .AllTranslations, and it worked well. The canonical tag stays unchanged, no new config is needed, and the sitemap behavior remains as-is.
Would you be open to a small PR against dev that adds rel="alternate" / hreflang links to layouts/partials/head.html for translated pages?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Blowfish already outputs alternate language links in
sitemap.xml, but not in the HTML head.Google accepts sitemap-based
hreflang, so this is not a critical SEO bug. Still, addinghreflangalternates to the page head would make multilingual output more complete and easier to validate in page source and external SEO checks.I tested this on a multilingual site with a small local override using
.AllTranslations, and it worked well. The canonical tag stays unchanged, no new config is needed, and the sitemap behavior remains as-is.Would you be open to a small PR against
devthat addsrel="alternate"/hreflanglinks tolayouts/partials/head.htmlfor translated pages?Beta Was this translation helpful? Give feedback.
All reactions