Any way to redirect certain domain?

Let’s say my website is “PM Kisan Card Verify”.
Recently, I discovered that someone registered the domain “” and set it up to redirect to “PM Kisan Village Dashboard”.
I’m not sure why they’re doing this, but I doubt it’s for a good reason.

I’d like to block redirects coming from the “” domain.
I tried using a Netlify Edge Function and checking “request.headers.get(‘referer’)”, but it returned “null”.

Is there an effective way to achieve this? Any advice would be greatly appreci

This is because the referrer header is not always sent. Setting no-referrer, same-origin (among other values) for Referrer-Policy will mean the referrer page/domain is not sent.

In short, no.