My domain, non www to www


#1

Hi, and Merry Christmas,

I’m trying to redirect non www page to www.
When I try with the homepage it works, but when I try with other pages from my domain, it gives me an error 522

mydomain.com to www.mydomain.com, it works

mydomain.com/subpage to www.mydomain.com/subpage, it doesn’t work.

I don’t know why, I’ve tryied with page rules, but it doesn’t work.

How could I solve it?

many thanks
joan


#2

Your redirect should Match example.com/* and forward to www.example.com/$1