Nest static page under another page (custom url)


#1

I’m trying to figure out how to do a nested page. For example, I want a page that is /cities/ and links to multiple cities under that (i.e. /cities/chicago). I can create the first page, but I can’t figure out how to add a / to the Post URL for the chicago page since it automatically gets changed to a hyphen.

Is this possible?

Ghost Version: 1.24.1


#2

At this moment, you can’t really do this. At least not with pages. You can change the URL for taxonomies e.g /tag/:slug/ -> /cities/:slug/ but it’s not something that you should do now, in my opinion. You will most likely be able to do this in the future with Dynamic Routing. It is a work in progress feature.


#3

Thank you that is really helpful. I’ll keep an eye on that Github issue.


#4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.