How to redirect all traffic (including root)

#1

I’m trying to configure page rules to wildcard redirect to another URL, including my root domain.

Any recommendations to where I should point the A record for the root so the page rules get applied?

Thanks!

0 Likes

#2

An “A” record for root can point to a placeholder IP address, such as 8.8.8.8, which won’t get used because of the Page Rule redirect.

Then the Page Rule would match *example.com/* with a setting for a Forwarding URL (301) to the new URL. As long as that new URL isn’t at this same domain, you’ll be fine.

0 Likes