I want to redirect all of the URLs to the new TLD domain, for example:
Basically if a user visits any kind of old url he/she redirects to the new one.
Without Cloudflare i can easily do this via Apache with :
RewriteRule ^(.*)$ https://www.domainAB.co//$1 [R=301,L]
- If I do the apache redirect and both my domains are on Cloudflare, the domain is redirected like:
domainAB.co/// and does not open
- If do it without apache and using Page rules, I can only redirect the home page
Is there anyone who can help me here?
I’ve tried everything I can.