I guess perhaps I’m not completely understanding what you’re saying. Could you please provide an example, or perhaps a website where I can see what’s occurring?
Simply put, it’s an unwanted backlink.
I added a referer code to HTACCESS but it failed, as it is not being referred, but 301 TO the website.
Once again, you did not provide what code you’re using.
And are you even running Apache, and not Nginx or some other webserver that does not “understand” HTACCESS rules?
But how to you stop it at “your” end? Or is it simply not possible?
I’ve mentioned already: you cannot stop the request from being made. But you can intercept the request (if you know the domain or URL where it’s coming from) and respond appropriately.
I know you can do that if the referring is a domain, as like any SEO, you can see where a link has come “from”. But if it is a 301/Web Forwarding, such as via 123reg…. can you see it has 301d from another domain?
Now you’re confusing the situation.
You said you know some domain is being 301’d to your client’s website.
So that first or “fake” domain is the referring domain.
Knowing this original domain that the request is originating from before being redirected to your site, you can perform some action on your own web server.