I sent this message to Cloudflare support:
should I be putting the “w w w” in front of the domain when setting up the page rules?
All my websites need to be setup to redirect to w w w version…
Here is the response from CF:
Hi Taylor,
Thank you for contacting Cloudflare Support.
My recommendation here would be to offload the redirect from h ttps:// estocksites com/ to h ttps://www. estocksites com/ at the Cloudflare Edge via the Page rules in the Cloudflare dashboard as this will enhance performance. And then you can have all the page rules set for [www](h ttp://www/).
However, if you do not wish to offload the redirect logic to Cloudflare Edge, I suggest you to have the page rules enabled for the sub-domain as all the requests will be redirected to www by the origin.
Configuring URL forwarding or redirects with Cloudflare Page Rules
support.cloudflare com/hc/en-us/articles/200172286-Configuring-URL-forwarding-or-redirects-with-Cloudflare-Page-Rules
I hope this helps! Feel free to reach out to us in case you have any further queries or concerns.
Cloudflare Support Engineer
Search the Cloudflare Community for advice and insight.
I need your help with translating what they are saying?
I am not clear on what they are saying
“My recommendation here would be to offload the redirect from h ttps:// estocksites com/ to h ttps://www. estocksites com/ at the Cloudflare Edge via the Page rules in the Cloudflare dashboard as this will enhance performance. And then you can have all the page rules set for [www](h ttp://www/).”
-
Are there any best practices with regards to using WP-Rocket Cache plugin and Wordpress? I am needing to use Let’s Encrypt, and they ask whether I want to add the www or non www or both to the Let’s Encrypt? Then there is another setting the http and https redirect? Where should this be done? I am using WP ROCKET, and does that matter? If anyone has any insights on this, anything helps!
-
Is Workers something anyone can recommend? I don’t understand what the major pros and cons are?