WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Types Permalink Structure? (7 posts)

  1. futurepocket
    Member
    Posted 2 years ago #

    I am trying to get a custom permalink style for my custom post types... my current permalink for my post is /%postname%/ but for my custom post types, I am trying to get the custom taxonomy in the permalink. I don't actually want the custom taxonomy name IN the permalink, but instead, let's say the custom taxonomy name is "TYPES" and under it I create "PRODUCTS" and my custom post type is "REVIEWS"...

    I want a permalink structure that is like /REVIEWS/PRODUCTS/%POSTNAME%

    From my current permalink structure, it just shows /REVIEWS/%POSTNAME%. Any idea how I can accomplish the above? BTW I am using Custom Post Type UI plugin to create the custom post type and taxonomy. Any help would be appreciated, thank you!

  2. jevets
    Member
    Posted 2 years ago #

  3. rwalktheplank
    Member
    Posted 2 years ago #

    this is a spectacular plugin that allows you to use %post_id% for one post type %postname% for another and so on. Just make sure your post type has_archive is set to true.

    http://wordpress.org/extend/plugins/custom-post-type-permalinks/

  4. Sheharyar
    Member
    Posted 2 years ago #

    When using this plugin it always gives a 404 error when I use the %postname% tag. Please help!

  5. futurepocket
    Member
    Posted 1 year ago #

    Yea, I also cannot use that plugin ... doesn't work for me.

  6. Ifan Iqbal
    Member
    Posted 1 year ago #

    my friend said that this problem could be solved using wp_rewrite. But, I've not tried those solution yet.

  7. Sheharyar
    Member
    Posted 1 year ago #

    @Irfan I already tried that, it didn't work. You can use the previous version while the bug in the current version gets fixed.

Topic Closed

This topic has been closed to new replies.

About this Topic