Geoloc redirects not working in Net Dev


This is my first netlify community thread… :tada::smile:

First off, Netlify Dev is amazing!

Now it appears redirect rules per country (as in is not working in netlify dev.

I wonder if it’s a sensible limitation or a bug?


1 Like

The rules engine works, but we’re not shipping an IP geolocation database with Netlify dev, so we won’t detect the country based on IP. To test the rules you should be able to set an nf_country cookie with the 2 letter country code to simulate the country you want the engine to detect.


Hi Matt and thank you for your prompt answer!

It makes a lot of sense :slight_smile:

1 Like