ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersโ€ข2y ago
George

Exclude Path from Bulk Redirect

Hi all,
On our production site, we have a bulk redirect rule for redirecting all traffic from
site.com
site.com
->
www.site.com
www.site.com
. However, for some verification files (eg
.well-known/microsoft-identity-association.json
.well-known/microsoft-identity-association.json
) the file must sit on the root domain.

I have setup a simple Cloudflare worker for showing that file if the path matches the verification file path.

However, as we have a bulk redirect rule, vising
site.com/verification.txt
site.com/verification.txt
will redirect to
www.site.com/verification.txt
www.site.com/verification.txt
. Is there a way to exclude only this one path?

Many thanks!
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

Bulk redirect
Cloudflare DevelopersCDCloudflare Developers / general-help
8mo ago
Increase bulk redirect limit
Cloudflare DevelopersCDCloudflare Developers / general-help
7mo ago
Redirect with path
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
bulk redirects
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago