title: Block Github Pages for certain country
body: <p>I recently hosted my website using github static pages. I am very new to web related things. I found that using <code>.htaccess</code> file we can block certain countries simply using <code>SetEnvIf CF-IPCountry RU BuzzOff=1</code>.</p>
  
  <p>But <code>.htaccess</code> is not supported for github pages. There is a workaround for redirecting web pages.</p>
  
  <p>When I google for blocking access to certain countries for github pages all I get is which countries have blocked github and what github did to undone the block.</p>
  
  <p>Is there a simple way to block website for certain country? Its not about privacy. But I am having unnecessary large no.of visitors from certain country and its very annoying to use Google Analytics because of it. </p>