In additon to elisolution's solution earlier mentioned, this also checks whether we are literally on the home web site (not merely whether or not the canonical was set or not). I tested this Answer somewhat and so far as I'm able to see, it works as anticipated. Normally, remember to let https://socialrus.com/story19024899/the-basic-principles-of-hreflang-tags-wordpress