Add a canonical link to the homepage on WordPress
Why it matters
A canonical link names the one address you want search engines to treat as the real homepage, so versions with tracking parameters or without www do not compete with each other. Without it, search engines choose for you.
The fix
- WordPress core prints a canonical link on single posts and pages, but not always on the homepage. An SEO plugin (such as Yoast SEO, Rank Math, All in One SEO or SEOPress) adds it everywhere; install one and check that its homepage setting does not override it with another address.
- Check Settings, General that the WordPress Address and Site Address use the preferred version of your domain.
Related
- Reported by the SEO basics check
- Add a title to the homepage
- Add a meta description to the homepage
- Fix the canonical link on the homepage
- Point the canonical link at your own domain
- Add Open Graph tags for link previews
- Complete the Open Graph tags
- Add a viewport meta tag
- Make the viewport follow the device width
- Replace the default WordPress tagline in the title
- Fill in the empty part of the homepage title
- Change the canonical link to https
- Check that the canonical link names the right host
Scan your domain to see whether this applies to you.