My site is for landing pages, not a blog - so it contains pages, not posts.
I want URLs like this:
So a page's category would be "shoes" and the slug would be "nike-sport-super-red".
What I did:
- Wordpress doesn't support categories/tags for pages, so I installed a plugin that adds this functionality
- I went to
Settings > Permalinks
and changed it to a custom structure:/%category%/%postname%/
But my URLs still do not show the category, only the slug:
Is there some way to do this?
post
) and will not be used with Pages (post typepage
). And actually, why not just create your pages as Posts? That way, you'd get the permalinks in the structure you preferred, all without having to use a plugin or custom code to make the permalinks work. – Sally CJ Nov 20 '19 at 10:52shoes
and addnike-sport-super-red
as a child ofshoes
. Easy, no plugins, no custom code and the pages would keep its proposed purpose of serving "static" content. – Sally CJ Nov 20 '19 at 11:59