Let’s say my website is “PM Kisan Card Verify”.
Recently, I discovered that someone registered the domain “mypage.xyz” 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 “mypage.xyz” 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