Taxonomies with Ghost pages 🙌

Hello!

I’d love help implementing taxonomies with Ghost pages.

I found great resources for updating the routes to make it work for Ghost posts.

Unfortunately, I can’t get it to work for pages or find advice online.

To clarify, I want a page like this:

/bao-hoang/

to be:

/magicians/bao-hoang/

Appreciate your advice to get this up and working : )

Two options to get urls like this:

  1. Create each one separately, as a route. (By editing routes.yaml.)
  2. Create these items as posts, instead of pages. In most ways, posts and pages are interchangeable, but posts:
    a) are available in search results
    b) can be put into collections, which lets you change the url of all posts with a particular tag.
    c) do not have the “hide header and title” slider, but if you can edit your theme, you can replicate this behavior by making a custom template that omits these items. (You could also use code injection.)

Note that if you create this content as posts, you’ll probably want to adjust things so that this content doesn’t appear in with your blog posts. For some themes, this is done with routing. For others (i.e. Source), you’ll need to edit the theme itself, as #get requests do not respect routing.

Thanks for the advice!

I want to keep them separate from posts, so I’ll look into the first option for now.
I have to add the pages manually, so it shouldn’t be too much work to update the routes.
If this task becomes too much, I’ll maybe switch it over to posts.

1 Like