Missing canonical URL on WordPress
No <link rel="canonical"> tag is defined on this page. Without it, duplicate URLs (with/without www, with parameters...) can create duplicate content.
Why it matters
Duplicate content dilutes the authority of your pages in search results and can prevent Google from indexing the correct version of your content.
How to fix
- 1
With Yoast SEO (automatic)
Yoast SEO automatically generates canonical tags for all your pages. Check in Yoast → Advanced → "Canonical URL" if a custom value is needed.
- 2
Manually via wp_head
phpadd_action('wp_head', function() { $canonical = get_permalink(); echo '<link rel="canonical" href="' . esc_url($canonical) . '">'; }); - 3
Force www or non-www
In Settings → General, set "Site Address (URL)" consistently with or without www. Add a 301 redirect at server level for the other version.
Ready to fix this issue on your site?
Audit my site for free →