add an extension to permalink CPT (1 post)

  1. Jonathan Dingman
    Posted 4 years ago #


    I have a CPT registered and I'm trying to customize the permalink structure for the CPT so it looks like this:

    My CPT is Term1

    Then I have entry1 under Term

    I want the structure to be like this:


    The .html is the part I'm having a huge struggle with.

    I'm currently using 'rewrite' => false, in the CPT, as it isn't flexible enough for what I need.

    I'm not sure what to use for the rewrite rules. I've been scouring the web trying to find something that looks close, but I haven't found anything.

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 4 years ago by Jonathan Dingman
  • This topic is not resolved
  • WordPress version: 3.4.1