Ready to get started?Download WordPress


Make Custom Post Types Permalinks the same as Regular Posts? (4 posts)

  1. spiritfly
    Posted 2 years ago #

    My permalinks for my default posts is set to:


    I have created custom post types called: reviews .
    I have rewrite set to true ('rewrite' => true,) in my functions.php, but the permalink for my custom post types is like:


    I would like to have the same permalink on my custom post types as the one on my default posts. Is that possible? Actually I know almost anything is possible, but how? :)

  2. Pankaj Pandey
    Posted 2 years ago #

  3. spiritfly
    Posted 2 years ago #

    Thanks for your fast reply Pnkaj Pandey, but unfortunately it is still the same. I added ( 'with_front'=>true ) and flushed, but nothing changed. My custom post types still show up as:


    Just to clarify. I want the same permalink structure for my custom post types as I have it set for my default posts now. My default posts show up as:


    I want my custom post types to appear the same as my default posts:


    How can I achieve this?

  4. spiritfly
    Posted 2 years ago #

    After a little research I came to the conclusion that the custom post types permalinks is still a muddy subject, so I will be stop thinking in that direction for now.

    I decided to use only custom taxonomies for that matter, and use custom post types ONLY when necessary.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.