Can I block weird 301 redirect to my website?

I’m getting weird 301 redirects from some domains that are not owned by us (e.g. sex4games[dot]com). Can this be blocked by using Cloudflare?

Thank you.

Unfortunately, no. A 301 looks like a fresh request, and will not contain a Referer header.

Out of curiosity, how did you find out where they’re coming from?


Hi @sdayman,

We found out from the backlinks report of ahref. There are vast amounts of the spam site linked to that domain which are then redirected to our website.


That’s unfortunate. I wish there was a way to block such referrers, but I’m not aware of any way to detect these, short of a lucky break of all of those 301 visitors having something else in common.

1 Like

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