WordPress Canonical URL Error Issue
-
I’m using Hostinger + WordPress + Astra + Elementor + Rank Math.
From the beginning, I purchased and used my official domain (https://ABC.com) when installing WordPress.
🔍 Problems:
▶︎ Issue 1: Canonical URL shows the wrong Hostinger domain and is uneditable
– WordPress General Settings:
– WordPress Address: https://ABC.com
– Site Address: https://ABC.com
– However, the canonical URL in page source is still showing as https://XXX.hostingersite.com/page-name.
– The canonical URL field is grayed out and cannot be modified — possibly coming from WordPress directly.
▶︎ Issue 2: Canonical URL resets after editing with Rank Math
– Even when I manually set the correct canonical URL using Rank Math.
– I’m not sure if the cause is:
– WordPress generating default canonical
– Elementor rewriting it
– Rank Math not persisting changes
▶︎ Issue 3: Elementor hyperlink resets to Hostinger domain
– Even after fixing URL manually, saving via Elementor causes some links to revert to Hostinger domain.
– Sometimes displayed correctly on frontend, sometimes not.
✅ Tried:
– Verified domain settings in WordPress → General
– Replaced URLs via Elementor → Tools → Replace URL (from Hostinger to official domain)
– Cleared all caches (browser + server)
– No caching plugins
– Google search shows correct domain, but page source and SEO tools still show old canonical URL
❓Questions:
1. Why is the canonical URL field in WordPress settings grayed out? Is it from WordPress core?
2. Does Elementor overwrite canonical settings? How to prevent it?
3. Could the old Hostinger subdomain be stored elsewhere? How to completely remove it?
The topic ‘WordPress Canonical URL Error Issue’ is closed to new replies.