301 redirect page rule not working properly

What is the name of the domain?

What is the issue you’re encountering

I Created a new page rule which is a 301 redirect for my old domain: growhomecaremarketing to my new domain: growseniorcaremarketing.com which works properly. But the issue is when I search up “old url”/about , it doesnt redirect the URL to “the new url”/about but stays on the old one.

What steps have you taken to resolve the issue?

I have added a page rule, setting up a permanent 301 redirect from growhomecaremarketing.com/ to https://growseniorcaremarketing.com/$1, and i have updated the dns settings aswell.

i would like to clarify that the 301 redirect page rule that I set is from “growhomecaremarketing.com/” to “https://growseniorcaremarketing.com/$1

the comments arent showing, but I have a wildcard character before the domain name and after the / for the old url

So you are using *growseniorcaremarketing.com/* ? In that case, the target needs to be https://growseniorcaremarketing.com/$2 (to match the second wildcard).

I have done that aswell and it doesn’t work

I can see I got the domains mixed up, it should have been…

So you are using *growhomecaremarketing.com/* ? In that case, the target needs to be https://growseniorcaremarketing.com/$2 (to match the second wildcard).

Can you show a screenshot of the Page Rule?

yes here you go

What does the DNS record for growhomecaremarketing.com point to?

Change the A record to AAAA 100:: (keep it proxied). The current A record is a Cloudflare IP address and in that case, redirect rules are ignored.

You will need to change the cdn record to an A record, instead of the CNAME, as you have it as DNS only.

okay will try it out

so AAAA is the type, 100:: is the IPv6 address?

Yes. You can use anything that isn’t a Cloudflare IP address as it is ignored, but 100:: specifically discards traffic which is safer in case you accidentally break or disable the rule.

1 Like

Okay, I just did that. For changing the cdn record to an A record, what should I put for the ipv4 address?

this fixed it, thank you so much

1 Like

Point it at the host or server you use it for. If you don’t use this subdomain, you can delete it.

1 Like

thanks, have a great day

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