-
Notifications
You must be signed in to change notification settings - Fork 123
Open
Labels
Description
The idea is to set a unique id in the YAML header that is used in the post URL. If you change the title of the post later it does not matter since we only care about the post id. This is search engine and user friendly and an improvement to using redirects if you change the post title.
Example Header:
layout: post
title: "This is my title"
id: 5465456
date: 2016-04-06 00:40:00 +0300
author: jwillmer
Example URL's:
https://site/blog/id/title
https://site/blog/5465456/This-is-my-title
https://site/blog/5465456/This-is-a-different-title-to-the-same-post
Permalink in _config.yml:
permalink: /blog/:id/:title
Everything after id will be ignored for redirecting to your post.
On-Hold since we need Jekyll and GitHub to support this.
Reactions are currently unavailable