WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type UI
[resolved] Any way to remove the taxonomy base name from the slug? (2 posts)

  1. efromdc
    Member
    Posted 6 months ago #

    Example: I have a multisite called http://url.com/germany/

    1. Created a taxonomy name called "cities"
    2. Created category in cities called "berlin"

    So >> http://url.com/germany/cities/berlin << is valid but I'd like to remove "cities" from the slug name so that http://url.com/germany/berlin is valid and "cities" is no longer displayed.

    Any thoughts on this?

    http://wordpress.org/plugins/custom-post-type-ui/

  2. Michael Beckwith
    Member
    Plugin Author

    Posted 6 months ago #

    You'll have to look into setting the rewrite rules and tinkering with the rewrite API for that. Nothing we directly set up ourselves, other than, I believe, offering the rewrite field to go with the taxonomy registration.

Reply

You must log in to post.

About this Plugin

About this Topic