Redirect requests for a domain to a new domain · Cloudflare Rules docs | Latest TMZ Celebrity News & Gossip | Watch TMZ Live Skip to content
Cloudflare Docs

Redirect requests for a domain to a new domain

Create a redirect rule to redirect all URLs for a domain to point to the root of a new domain, including any subdomains of the old domain.

In this example, an old website was discontinued and replaced by a new one in a different domain. The functionality is different, and all URLs should now point to the root of the new domain. The same applies to any subdomains of the old domain.

  1. Create a Bulk Redirect List with the following URL redirect:

    • Source URL: example.com/
    • Target URL: https://example.net/
    • Subpath matching: Enabled
    • Include subdomains: Enabled
    • Preserve path suffix: Disabled
  2. Create a Bulk Redirect Rule that enables this list.

This configuration will perform the following redirects:

Request URLURL after redirect
http://example.com/https://example.net/
https://example.com/https://example.net/
https://subdomain.example.com/https://example.net/
https://example.com/my/path/to/page.htmhttps://example.net/
https://example.com/search?q=termhttps://example.net/

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.