I have a weird problem created by a bad requirement. (I say this because a lot of comments telling me this is a bad thing to want to do are not helpful. I know. I don't want to do it.)
Is it possible to change the permalink separator (
/ ) to a dash (
- ), specifically for hierarchical pages?
So that URLs for pages would be like: example.com/page-child-page-grandchild-page
I need the child-parent relationship in order to display breadcrumbs and lists of child and sibling pages.
But the client/boss (for reasons that confuse me) does not want (and i quote) "so many folders."
I think that the site might be compiled out to a static web server when it is done, so that almost makes sense. Please don't tell me this is dumb. I'm aware it is dumb.
Don't use WP's page hierarchy. Use ACF or Posts-to-Posts (or similar) to create an alternative parent-child relationship, and then roll my own Breadcrumb and Child-Page-Listing features.
Comments on whether that is a fundamentally better idea are welcome.