• I am having a problem that I have created a custom post type and created posts which relate to some category.

    the post URL should include the category name but its not the case. category name is omitted from custom post url.

    my permalink structure is set to /%category%/%postname%/

    but category name is not displaying in URL.

    plz help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Custom post types don’t use the permalink structure — only posts do.

    You need to do your own rewrite rule handling.

    Moving this post out of the alpha/better forum.

    Thread Starter Tahir Yasin

    (@tahiryasin)

    can you plz tell me how to write custom rewrite rules for custom posts

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘why category name not included in post url of a custom post type’ is closed to new replies.