• I’ve read in the documentation that it’s not recommended to use category/post-name, but really have not found good resources explaining the most efficient system.

    For the most part, I plan on using post_types for just about everything in the website.

    Not even sure if it’s possible, but can I use something like /post_type/post-name/ or something similar?

    Just curious to hear what others think about this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Per https://ottopress.com/2010/category-in-permalinks-considered-harmful/

    Leave a number, or something static, at the beginning of your permalink string and you’ll never have any sort of problems.

    On a related note… Is it possible to have a custom permalink structure just for post types?

    My regular blog posts are setup as
    “.com/year/month/day/post-name”

    can I keep that structure, but on a custom post type use
    “.com/year/post-type/post-name”

    No permalinks for post types like there are for archives. There’s a permalink for a given post type article, but that’s it. If you want to display the items (posts) of a given post type create a page an use a new WP_Query with a ‘post_type’=> ‘your post type’ argument.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘what is most efficient permalink structure when using post_types?’ is closed to new replies.