Rules return www version of the site instead of non-www

Hello,

is it possible by transform rule or page rule when I request www.example.com reach example.com but return www.examle.com to a browser address bar.
I run wordpress and it has some kind of internal redirect to a siteurl, also I tried with nginx and it is not succeeded as well.

Thank you !

You cannot change the hostname. A redirect with a page rule will be your best option. There’s a dedicated article at #tutorials.

Alternatively, you could use a Worker to proxy requests to your naked domain, but that would be paid if you exceed the number of free requests.

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