I chose the site’s header template that is located at /themes/traditional/templates/_partials/header.tpl. With the assistance with the hook h = ‘MyCustomNameHooks’ For anyone who is using a CMS like WordPress, Joomla, or another System, there are often configurations or plugins to manage HTTPS redirection and canonical tags: To solve the challenge, https://bookmarkingfeed.com/story18749860/the-5-second-trick-for-hreflang-not-using-canonical