$referer = $_SERVER['domain.com'];
On Blogger you can't enter custom PHP code.
<script> if (document.referrer = "http://badpage.com") location.href = "http://www.google.com"; </script>
Try what alpha said , it will fix your prob
Block traffic through cpanel.. By adding that site ip..
There are so many ways to do that type of blocking, however My best method is to use Cpanel or a code i the Index file. If you are on a a platform of CMS try to use plugin if that is built.
.htaccess is best way i guess..