WordPress.org

Ready to get started?Download WordPress

Ideas

Customize all the permalinks

  1. Jonathan Dingman
    Member

    12345

    the support forum is really a better place for that question, as this is a feature suggestion area.

    But to answer your question, you'll want to use custom taxonomies: http://codex.wordpress.org/Taxonomies

    Posted: 2 years ago #
  2. Mike Bijon
    Member

    Keep in mind that much larger sites (like blogs in the Top 1,000 sites for traffic) can hit performance issues with some of the current permalink rules. This may go away, or at least get better in 3.3, but allowing everything to be customized could recreate that problem all over.

    But, this could easily be a plugin or theme hack. And, if it's tested & fast it could always get into core later. This blogger has posted an extensive how-to:
    * http://shibashake.com/wordpress-theme/wordpress-permalink-add

    @landwire
    Your planned link-scheme "/%role%/%author%/%posttype%/%posttitle%/" should probably be "/%role%/%author%/%posttype%/%postname%/". Then the only custom fields will be %role% and %posttype%.

    If your %posttype% is from custom post types, use the shibashake.com link to create the rewrite & then get_post_type( $post ) to get that value from each post.

    You %role% option may have a performance problem (authors can have more than one role, there will be a lot of looping through arrays). Use the shibashake.com link for the rewrite setup. Then the role value(s) for each author can be found this way: http://wordpress.org/support/topic/get-a-users-role-by-user-id?replies=20#post-1383284

    Posted: 2 years ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    33 Votes
  • Status

    This idea has been implemented

Tags