I selected the site’s header template that is found at /themes/basic/templates/_partials/header.tpl. With the help of your hook h = ‘MyCustomNameHooks’ Hreflang tag #1 will be the self-referencing entry In cases like this. And the value on the rel attribute have to be “alternate” – it can not get replaced with https://socialbuzzfeed.com/story4275971/the-smart-trick-of-hreflang-not-using-canonical-that-no-one-is-discussing