Forums

Problems without www

We are facing a technical challenge that we hope you might be able to assist us with.

Recently, we implemented some changes on our website, xflavors.net, and we noticed that users trying to access the site without the "www" (i.e., just typing "xflavors.net") are not being correctly redirected to "www.xflavors.net".

We're using Cloudflare to manage our DNS records. Here are the details of our relevant DNS records:

CNAME for "www" pointing to "webapp-1613974.pythonanywhere.com", with proxy status as "DNS only".
CNAME for "xflavors.net" pointing to "webapp-1613974.pythonanywhere.com", also with proxy status as "DNS only".

In addition, we've also set up a page rule on Cloudflare to handle the redirection. The rule is set up to redirect all requests from "xflavors.net/*" to "https://www.xflavors.net/$1" with a 301 redirect.

However, for some reason, the redirect rule doesn't seem to be working correctly. We've checked the syntax of the rule and believe it is correct, but the redirection is still not happening.

If any of you have come across a similar situation or have any insights that might help us solve this issue, we would be very grateful.

Thank you in advance for your help and time!

Best regards,

We can't really help you with CloudFlare issues. If you believe that your redirect is correctly set up and it is not working, then you should contact CloudFlare.