Brajet
Emerald
- DOLLAR$
- $17,183.20
Cloudflare domain redirection lets you forward visitors from one domain or subdomain to another easily. The simplest method is using Page Rules: in Cloudflare's dashboard, create a rule that matches your source URL (like http://oldsite.com/*), then set it to "Forwarding URL" with a 301 (permanent) or 302 (temporary) redirect to your target domain (such as https://newsite.com/$1). The wildcard * and variable $1 let you redirect all paths dynamically. For more advanced needs, Cloudflare Workers can run custom scripts to handle redirects programmatically. Remember to enable Cloudflare's proxy (orange cloud) for these to work. Page Rules are limited on free plans, so Workers are better for many redirects. This setup is useful for redirecting old domains, HTTP to HTTPS, or non-www to www versions of a site.