Adding to _config.yml:
gems:
  - jekyll-redirect-from