Jekyll Permalinks and Redirects

24 Mar 2016

I recently changed the permalinks for my blog posts in my Github Jekyll Blog. I also added redirects from the previous urls to the new one.

By default blog post urls are prepended with the filename date.


To create a new permalink just add the permalink in the front matter of the post.

permalink: working-with-jekyll

However I also wanted to have the older links redirect to the new permalink of the post.

To do that I used the jekyll-redirect-from plugin. Just follow the installation steps.

And in your post frontmatter:

title: Working With Jekyll
permalink: working-with-jekyll
redirect_from: 2014/12/14/working-with-jekyll/


  1. Jekyll Filename Without Date
  2. Github - Jekyll - Old pages redirection - best approach
  3. JekyllRedirectFrom
  4. Redirects on GitHub Pages