title: What is the best approach for redirection of old pages in Jekyll and GitHub Pages?
body: <p>I have blog on github pages - jekyll</p>
  
  <p>What is the best way to solve url strategy migration?</p>
  
  <p>I found the best practice in common is create htaccess like so</p>
  
  <pre><code>Redirect 301 /programovani/2010/04/git-co-to-je-a-co-s-tim/ /2010/04/05/git-co-to-je-a-co-s-tim.html
  </code></pre>
  
  <p>But it does not seems to work with Github. Another solution i found is create rake task, which will generate redirection pages. But since it's an html, it's not able to send <code>301</code> head, so SE crawlers will not recognize it as an redirection.</p>