An all-in-one site reporting, metadata wrangling, Open Graph managing, Twitter card making, sitemap generating, turn-key addon for Statamic.
52
stars
33
forks
source link
Fix duplicate hreflang attribute values in meta output #323
Closed
jesseleite closed 2 months ago
When two sites are configured with same language (ie.
en_US
anden_GB
), SEO Pro was generating duplicatehreflang
attribute values...This PR fixes this by appending region codes to these duplicates...
_Note: We intentionally format
en_US
toen-us
, because this is what Google shows as valid hreflang formatting._Fixes https://github.com/statamic/seo-pro/issues/296