Page Rule 301 Redirect Not Working

What is the name of the domain?

elliman.com

What is the error number?

None

What is the error message?

You have -21 Page Rules left.

What is the issue you’re encountering

Page Rule 301 URL redirect is not working

What steps have you taken to resolve the issue?

Confirmed the config and destination link is correct

What are the steps to reproduce the issue?

The redirect doesn’t work internally or externally. Redirect checkers have it using a 202. The only message I see is You have -21 Page Rules left but at least one other 301 redirect is currently working.

Your DNS records are “DNS only” and not “Proxied”, so requests are going direct to your origin, not through Cloudflare. You rules can’t have any effect unless you use the proxy.
https://cf.sjr.org.uk/tools/check?f77d200c087f4894a9fb6575418f87c2#dns

Sorry, I am redirecting a subdomain, mylearning.elliman.com

That too is “DNS only”, a CNAME to www.elliman.com and needs to be proxied for any redirect to work.
https://cf.sjr.org.uk/tools/check?28e6773b89414284b3f49dcf46f0cc1b#dns

If you are redirecting the whole subdomain, and not just a few pages, then you can replace the record with a proxied AAAA 100::.

Note also that Page Rules are deprecated so consider using a Redirect Rule instead.

1 Like

Noted on the deprecated feature, I’ll try Redirect Rule. I tried the CNAME already and was running into cert issues, NET::ERR_CERT_COMMON_NAME_INVALID. The 301 typically works when I redirect entire sub-domains, like this example. Hopefully the issue was me using a deprecated feature… we’ll see. Thank you

Also forgot about proxied CNAME. I’ll try that as well

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