My site is https://slotted.co. It’s hosted at Heroku. I have a CNAME record for www and the naked domain. CNAME flattening is applied to the naked domain.
I’m running my site through some SEO checkers, and they’re complaining that both www and naked URLs return 200. It wants one of them to 301 to the other to avoid indexing duplicate content.
I added a meta tag in all pages like this, hoping it would silence the complaint, but it doesn’t.
<link href=“https://slotted.co/” rel=“canonical”>
For the best SEO do I need to have the www domain redirecting to the naked domain? Or is the meta tag sufficient, and the SEO checker is not smart enough?
I hope this question makes sense. I’m not to savvy on SEO. Any help is appreciated. Thanks.