In additon to elisolution's answer earlier mentioned, this also checks no matter whether we are literally on the home page (not only whether or not the canonical was established or not). I tested this Alternative a tad and as far as I am able to see, it really works as envisioned. https://pageoftoday.com/story4638815/5-simple-techniques-for-was-ist-canonical-tag