© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•8mo ago•
6 replies
Marti(R)

Bulk redirect

Hi! I'm trying to configure a Bulk Redirect in Cloudflare so that any request to https://example.com/[anything] redirects to https://app.targetsite.com/[same-path]. (I have many domains that I want to redirect to the targetsite)

For example:
https://example.com/abc123 → https://app.targetsite.com/abc123

I also want subdomains like www.example.com or test.example.com to be redirected the same way to app.targetsite.com, following the exact same rule.
It's important that everything after the slash (/) is preserved and passed to the destination URL.

Here’s what I’ve done so far:

Created a Bulk Redirect List with:
https://example.com/* → https://app.targetsite.com/${1} (301)

Enabled the redirect rule and selected the list

Added an A record for example.com pointing to 192.0.2.1, proxied (orange cloud)

It doesn’t seem to be working yet.

Do I need to configure anything else in DNS or the redirect settings?
Should I enable options like “Subpath matching” or “Include subdomains”?
Do I need additional DNS entries for the subdomains?

Thanks a lot in advance for your help!
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Increase bulk redirect limit
Cloudflare DevelopersCDCloudflare Developers / general-help
7mo ago
bulk redirects
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago
Exclude Path from Bulk Redirect
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago