Www redirect to non www does not wokr

What is the name of the domain?

domain.com

What is the issue you’re encountering

redirect to non www

What steps have you taken to resolve the issue?

I added page rule as it is on photo but when I open my website as www.mywebsite.com it returns error and does not open the website at all. I open without www as mywebsite.com and it opens but can not open with www

Screenshot of the error

Forgot to say, i tried with htaccess but neither it work. I use vps, have installed hestia and then Wordpress. no other way works

For a Page Rule wildcard, the target needs to be https://arxebi.com/$1

You also need a DNS record for www so it resolves. Use a proxied AAAA record pointing to 100::

3 Likes

Use 100::

It is ignored as you are redirecting but also tells Cloudflare to discard the traffic if you accidentally remove the redirect or unproxy it.

3 Likes

Thanks now works.

3 Likes