I’d prefer for my site to use www. rather than the naked domain.
To achieve this, I’m using a page rule permanently redirecting the root to www.
This works fine, my issue is that Google sees the root and www as duplicates, and is selecting the root as the canonical version.
I’ve tried adding <link rel="canonical" href="https://www.joelheath.net/">
to my site, but I assume this must be confusing Google since Google sees it as appearing on the apex & www (which it thinks are two different sites).
My site is purely static, is there any way I can solve this?