Redirect url non www to www

How to redirect non www to www?
E.g:
https://example.com?q=1
redirect to
https://www.example.com?q=1

Create a redirect rule here…
https://dash.cloudflare.com/?to=/:account/:zone/rules/redirect-rules

Copy this example, just changing the host names…

2 Likes

Thanks it works!

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