How can ı solve my seo problem

<link rel="canonical" href="https://yuruyusyolu.com/" />
ı added this to my <head>

but ı get this error in woorank.com in seo test.

Warning, no 301 redirects are in place to redirect traffic to your preferred domain. Pages that load successfully both with and without www. are treated as duplicate content!

Not all versions of your page point to the same URL.

Hi there :wave:. This error isn’t related to the canonical meta tag, but with redirecting your www subdomain to your main naked domain. If you’re using CloudFlare you can follow the steps here to redirect your www subdomain:

This is not a canonical issue. It is basically redirection error. If your site open with and without “www” that means they consider as two different domains. So discuss with developer and make it proper redirect to “www” or without “www” as per your choice. Same as “http” or “https”, they also consider as a two different domain, so do it as well. If you want to secure your domain and keep protection from hackers. So you should use a vpn with openvpn protocol. https://www.purevpn.com/what-is-vpn/protocols/openvpn