I've been trying to find out how to actually block proxies from accessing your website, either by .htaccess or php codes

none of the methods really worked. I'm eager to listen from you if you know how to do it or any helpful tips

thanks in advance

-Aziz