Non-www to www not working

I’ve looked at about ten other posts and tried five things before posting this

One of my domains is set up correctly to redirect http:// to https://www. but I am for some reason unable to achieve the same result in another of my domains.
Page rules for both are / 301 https://www.x/ and /* 301 https://www.x/$1

both of the www’s resolve correctly independently?

working correctly: grify.dev
not working: blockhead.dev

Thanks :smiley:
(edited to put all links in quotes)

Redirect example.com to www.example.com covers that.

In your particular case it seems you simply dont have a DNS record for your naked domain.

I do. I have a CNAME to a repl on the naked domain.

An unflattened CNAME wont work for your naked domain, furthermore your entry is not proxied.

You need to follow the tutorial.

Thanks

This topic was automatically closed after 14 days. New replies are no longer allowed.