Set a new page rule to forward from a naked domain to www, just checking I did it right

Hi there! I have a photography portfolio using a domain I own that cloudflare manages the DNS for. I just changed portfolio hosts (from SmugMug to Pixieset) and have switched from using the naked domain ( to using the standard domain with www (

I think because of how I switched hosts, right now going to the naked domain gives a 502 bad gateway from nginx. I added two page rules to try and redirect from the naked domain to the regular one. Both are 301 redirects, one going from* to$1 (because I read in this thread that would preserve path between requests). The other goes from* to$1.

Is that correct? Will it accomplish what I want it to, or is there something else I should be doing? Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.