Cloudflare Pages - www.SUBDOMAIN.pages.dev not working

Hello, given these two examples of Cloudflare Pages .page.dev:

1-
www. SUBDOMAIN .pages.dev is routing to:

2-
https:// SUBDOMAIN .pages.dev is routing to the actual site

As you know we can’t control CNAME because we do have a control,

I think this is a default behavior for Cloudflare Pages.
As a user what should I do to make the site work with both mentioned examples?

Correct, we do not make www work on the pages.dev. You could do that for your custom domain by adding www.example.com

The pages.dev follows the format of {deployment/branch}.{project}.pages.dev.

1 Like

Thank you for the fast response,

So to initiate the redirection, should I use the “Bulk Redirect” feature?

Do you have any preferences regarding the configuration settings such as the Status (301, 302, 307, 308) and the parameters that should be set?

I tested it and it’s working but I do not know exactly the side effects…

Thanks

Yep Bulk Redirects is the recommended way.

1 Like

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