title: How to setup stop a malicious website from forwarding to my website (my website is built on gatsby and hosted on netlify)
body: <p>I have a malicious website that is redirecting to my website and I would like to stop that. Since my site is built on gatsby and hosted on netlify, the direct addition of the .htaccess file with the following rule does not work.</p>
  
  <pre><code>RewriteEngine on 
  RewriteCond %{HTTP_HOST} maliciouswebsite1.com [NC,OR] 
  RewriteCond %{HTTP_HOST} maliciouswebsite2.com
  RewriteRule .* - [F] 
  </code></pre>
  
  <p>I tried used gatsby-plugin-htaccess with the following custom rule in gatsby-config.js, but it doesn't seem to be working either. Any suggestions or ideas on how I can achieve this?</p>
  
  <pre><code>{
        resolve: 'gatsby-plugin-htaccess',
        options: {
          custom: `RewriteEngine on 
             RewriteCond %{HTTP_HOST} maliciouswebsite1.com [NC,OR] 
             RewriteCond %{HTTP_HOST} maliciouswebsite2.com 
             RewriteRule .* - [F]`
        }
  }
  </code></pre>