301 redirect for site hosted at github?

Bringing this topic back from the dead to mention that GH now supports redirect-from’s redirect-to parameter https://github.com/jekyll/jekyll-redirect-from#redirect-to

Simply add this to your _config.yml

gems:
  - jekyll-redirect-from

And this to the top of your index page.

---
redirect_to: "http://example.com"
---

Leave a Comment