Optional leftpane

Avatar

Tutorial

Custom URL Structure

Custom URL Structure

Welcome! This guide explains how to set custom URL Structure

This method doesn’t require any plugin, is a base Jekyll feature


Setting up

Jekyll uses option permalink in _config.yml to set pages/posts URLs

Examples

Post title only

permalink: /:title.html

Year/Month/Title

permalink: /:year/:month/:title/

Generates URLs like: /2025/05/custom-url-structure/

Category and Title

permalink: /:categories/:title/

Generates URLs like: /tutorial/custom-url-structure/

Full Date and Title

permalink: /:year/:month/:day/:title/

Generates URLs like: /2025/05/16/custom-url-structure/

Pretty URLs (No file extension)

permalink: /:categories/:year/:title/

Generates URLs like: /tutorial/2025/custom-url-structure/

Static Folder and Title

permalink: /blog/:title/

Places all posts under /blog/, e.g.: /blog/custom-url-structure/


Avatar

ItsZariep

Cool Duckription🦆️

About me

Comment section will be here

See _includes/comments.html


© 2025 Tessera

© Powered by Tessera for Jekyll