I selected the website’s header template that is located at /themes/vintage/templates/_partials/header.tpl. With the help from the hook h = ‘MyCustomNameHooks’ In case you are using WordPress, there may be a setting which you can use to include canonical tags to your internet site. So Briefly, I entered an if-then statement, https://bookmarklayer.com/story18837529/the-fact-about-hreflang-not-using-canonical-that-no-one-is-suggesting