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?

  • 2
    That permalink setting is used with the standard Posts (post type post) and will not be used with Pages (post type page). 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:52
  • @SallyCJ I thought "posts" were used solely for blog posts, whereas a "page" is used for static/dynamic pages? – lonix Nov 20 '19 at 11:37
  • Yes, that's indeed the default behavior. But pages also by default have no Categories because pages can be categorized by parent-child relationship, so it's probably better if you categorize your pages in that way. E.g. Create a page shoes and add nike-sport-super-red as a child of shoes. 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.