Lego2012
8/14/2017 - 9:45 AM

How can one do a series of posts with part 1, part 2, part 3, etc.

How can one do a series of posts with part 1, part 2, part 3, etc.

Question:

I’m thinking basically a BIG post but split up over a few pages…

/blog/analysis-of-monkey-island/ /blog/analysis-of-monkey-island/2/ /blog/analysis-of-monkey-island/3/

Is there a way to do this that is elegant? I figure the inelegant way to do this is to make a post /content/blog/analysis-of-monkey-island.md and then for the other parts either make the directory structure /content/blog/analysis-of-monkey-island/2.md or just make the post /content/blog/analysis-of-monkey-island-part2.md with a slug of /analysis-of-monkey-island/2/. Are either way viable? is there a better way?

Answer

You could make “Analysis of monkey island” and then just label your .md files as 1.md, 2.md, or 3.md.

Or this is where taxonomies could help, but it won’t give you the exact url structure above until taxonomy permalinks are configurable:

Title: Analysis of Monkey Island Part 1
series: ["Monkey Island"]

Then you’d have something to the effect of:

/blog/analysis-of-monkey-island-part-1 /blog/analysis-of-monkey-island-part-2 /blog/analysis-of-monkey-island-part-3

But then also…

/series/monkey-island

That lists all three of them on that taxonomy page. This would give you the option to write more stories maybe a few months from now that will automatically be added to the series taxonomy. You can also reference within your single.html on that particular blog post that says “This is part X of series X” and link back to the taxonomy page.

As far as /2/, /3/, I wouldn’t recommend that as a URL structure for anything other than pagination, and that’s large a matter of convention (e.g. /page/1). Human readable URLs is an SEO best practice.

A series is often different than a section like “blog” since typically blogs are ordered according to date, BUT that doesn’t mean you can’t treat each section of the site as its own series (or even as chapters of a book, for that matter). This is when content modeling gets tough: what’s a section vs what’s a channel vs what’s a management-only attribute vs what’s in it just for SEO vs what’s a reflection of governance, yada, yada, yada…