WordPress.org

Ready to get started?Download WordPress

Forums

Logical permalink structure with custom post and taxonomies (7 posts)

  1. Cole Slaw
    Member
    Posted 3 years ago #

    I've been working Google like a maniac for this, but can't seem to find a straight up answer that doesn't require one to "cut corners".

    I have currently:

    • A custom post type called songs.
    • A taxonomy called genre, which is hierarchical with multiple children entries.

    I want the permalink structure to display in the most logical of forms: mydomain.com/%post-type-slug%/%taxonomy-entry%/%post-slug%. For example:

    mydomain.com/songs/trance/progressive/awesome-song or
    mydomain.com/songs/trance/awesome-song-2 or
    mydomain.com/songs/blues/southern/alabama/my-awesome-blues-song

    I also want:

    • An url without the post-name to display category archive. So mydomain.com/songs/trance/progressive displays all songs in the progressive category.
    • All other appendable expressions should work as with posts. For example /trackback/ and /feed/.

    Thanks in advance!

    The best articles I've found so far is:

    http://www.nkuttler.de/paste/1j1/ (i have no idea how to implement it)

    http://shibashake.com/wordpress-theme/custom-post-type-permalinks
    http://shibashake.com/wordpress-theme/custom-post-type-permalinks-part-2
    http://shibashake.com/wordpress-theme/add-custom-taxonomy-tags-to-your-wordpress-permalinks

  2. hilmon
    Member
    Posted 3 years ago #

    Hi,

    I'm stuggling with this quandary also. I was looking to have:

    mydomain.com/%taxonomy%/%taxonomy-term%/%post-slug%.

    or

    mydomain.com/%post-type-slug%/%taxonomy-term%/%post-slug%.

    as my taxonomy names are the same... or can be the same.... as the post type names.... althou this seems to cause issues when rewriting slugs.

    I've read quite a few tutorials on the subject but none seems to answer this question directly!

  3. Diogo15
    Member
    Posted 3 years ago #

    Did you find any kind of solution???

  4. Tahir Yasin
    Member
    Posted 3 years ago #

    I also want to implement something like this in my site. if you guys find any solution plz share.

    thank you

  5. hilmon
    Member
    Posted 3 years ago #

    No, I never found a solution. I couldn't find a way get my desired structure of ...

    mydomain.com/%taxonomy%/%taxonomy-term%/%post-slug%

    :-/

  6. Diogo15
    Member
    Posted 3 years ago #

    http://wordpress.org/extend/plugins/post-types-taxonomies-intersections/

    Try it and share your result, i just find this plugin!!

  7. Tahir Yasin
    Member
    Posted 3 years ago #

    Not worked for the purpose.

    :(

Topic Closed

This topic has been closed to new replies.

About this Topic