In additon to elisolution's response above, this also checks whether or not we are actually on the home web site (not just whether or not the canonical was set or not). I examined this Alternative a bit and so far as I am able to see, it really works as envisioned. https://modernbookmarks.com/story18998539/the-greatest-guide-to-canonical-link-tag-not-found