WordPress.org

Ready to get started?Download WordPress

Forums

Types - Custom Fields and Custom Post Types Management
[resolved] Custom URLs for child posts (3 posts)

  1. wonderm00n
    Member
    Posted 10 months ago #

    Is it possible to have custom URL/permalink for child posts depending on the "mother" post?

    Example:
    - Music Festivals
    - Photo galleries

    For the music festival I would have a URL like /the-music-festival/ and for each photo gallery I would have /the-music-festival/photos/the-gallery/

    I could also have a gallery NOT belonging to any festival, so the URL would be /photos/the-gallery/

    Depending on either the gallery belongs, or not, to a specific festival I would show different template/navigation on my theme.

    http://wordpress.org/plugins/types/

  2. AmirHelzer
    Member
    Plugin Author

    Posted 10 months ago #

    Sorry, but this is not possible with WordPress, without a major hack, which I don't recommend.

    At the moment, this parent / child relationship is defined and processed in Types. WordPress is not aware of it and doesn't include this information in the URL.

    What you are asking makes good sense, but is really not feasible in the way WordPress works today.

    Who knows, maybe we'll have it in a later WordPress version.

  3. wonderm00n
    Member
    Posted 10 months ago #

    Bummer... it ruins the migration to WordPress of an existent website that uses this URL scheme.

    I'll guess I'll have to make a bunch of 301 redirects :-/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.