• My permalink structure is “/%postname%.html” and it works fine for my regular posts but not for custom post types instead it looks like:

    mysite.com/custom-post-type/postname-url

    What I want is

    mysite.com/custom-post-type/postname-url.html

    or

    mysite.com/postname-url.html

    How do I get that done?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Try looking into the ‘rewrite’ argument of register_post_type.

    Been struggling for a few days with this…

    Seems URL rewrite for custom post types has some bugs in the current version of WP, and it just won’t work.

    I also wanted to have a structure like:

    mysite.com/custom-post-type/custom-taxonomy/custom-taxonomy-subcategory/postname.php

    It does work for the standard Posts that are built in the core, but not for anything else. For the moment, you only get “custom-post-type/postname/”, no matter what permalinks you’re using.

    Some have proposed some hacks, but none of them are working 🙁

    Need an update on this really soon 🙁

    I want to create a custom permalink based on a custom-post type and and 3 types of custom taxonomy
    in this way:
    mysite.com/custom-taxonomy-1/custom-taxonomy-2/custom-taxonomy-3/postname.html

    How it works?

    @ Gizmoc

    me too! following this thread in case something comes up 😉

    up

    has anyone figured out a solution to this issue yet?

    no!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Custom post type permalink rewrite’ is closed to new replies.