How to Redirect Traffic Based on US State IP Geolocation

I understand we can use the ip.src.region_code field to determine origin (US state) codes (CA, TX, et al) but how/where do we set up redirects to another URL based on the results?

I understand that this can be pasted in the Expression Editor… but for what setting? The WAF doesn’t have an option for “redirect”.

CF seems to be (or should be) capable of doing this, but it’s unclear exactly how. Thanks!

For redirecting, use redirect rules…
https://dash.cloudflare.com/?to=/:account/:zone/rules/redirect-rules

1 Like

I knew it was something stupid I was just overlooking – THANK YOU!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.