Support » Alpha/Beta/RC » Custom Post Type and Taxonomy Permalinks Broken

  • scottelkin

    (@scottelkin)


    If I create a custom post type “movies” with custom taxonomies “director” and “actor”, this is what I get out of the box with the default Permalink structure:

    (when I add a movie post type)
    /?movies=clerks

    If i click on the Director taxonomy from the movie page:

    /?directors=kevin-smith

    When I click on the “actor” taxonomy from the movie page:

    /?actors=jason-mewes

    If I change Permalinks to “/%category%/%postname%/ I get:

    /movies/kevin-smith/

    and then just

    /kevin-smith/
    /jason-mewes/

    For director and actor respectively.

    All of these just 404.

    What am I doing wrong here? How can I fix the actor and director permalinks to show:

    /directors/kevin-smith/
    /actors/jason-mewes/

    AND have them all not 404?

Viewing 6 replies - 1 through 6 (of 6 total)
  • scottelkin

    (@scottelkin)

    sorry with my use of singular vs. plural. my taxonomies are “directors” and “actors”, both plural.

    scottelkin

    (@scottelkin)

    anyone?

    I’m having the same problem, posted about it. Not much help yet. Did you have any luck ever?

    Just use “Custom Structure” under Permalinks.

    The custom structure should be ” /%postname% “. (No quotes of course.)

    In the case of a custom post type of “movies” the permalink will be
    ” /movie/avatar “. You should see this permalink when you edit your “avatar” post.

    @ronbme, that does work for custom post types, but for regular posts (like blog entries) i would still like to keep the date format /Y/m/d/title structure

    anybody else having that issue or trying to do custom rewrites for the custom post types?

    ok, i found the solution. you have to flush out the taxonomy. instructions here

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom Post Type and Taxonomy Permalinks Broken’ is closed to new replies.