ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersโ€ข2y agoโ€ข
3 replies
supsydaisy

Page Rule working on WWW but not Non-WWW

Hi all! I'm having an issue that I'm spending an unreasonable amount of time trying to fix, so if anybody could help that would be greatly appreciated!

I'm setting up a page rule to forward a URL, and it's causing me a lot of bother.

I'm trying to redirect
*allyouyoga.co.uk/blog/* 
*allyouyoga.co.uk/blog/* 
to
https://allyouyoga.com/post/$2
https://allyouyoga.com/post/$2
using URL Forwarder.

I get the intended result if I try and access
www...
www...
but not the non WWW version - it's super annoying.

(I've purged the cache multiple times)

I've scoured every help page, forum, reddit post and even spent 30 minutes trying to diagnose the problem with my good friend GPT, but scoring no avail, as pretty much the only reply is 'you're dns record isn't proxied,' when mine actually is and has been for weeks.

I have an A record
@
@
pointing to the server's IP address, and a CNAME
www
www
, both are proxied by cloudflare.

If anybody could shed some enlightenment that would be amazing. We've got about 300 blog posts from the last 3 years that each have a bunch of backlinks so understandably my client is on my case!
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Redirect www to non-www not working
Cloudflare DevelopersCDCloudflare Developers / general-help
15mo ago
Redirect Page Rule Not Working
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
www -> non www redirect
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago