Multiple permalink formats? (2 posts)

  1. JonathanDrain
    Posted 10 years ago #

    I'm working on a site which uses posts (not pages) for content. Here's what I want to do.

    1) All "blog" posts can go in the "blog" category. Anything in the blog category has the standard weblog permalink (example.com/2005/04/03/post-name-here/).

    2) All posts in other categories have a permalink that represents its category (and sub-categories) better, more like Pages (example.com/writing/non-fiction/final-fantasy-guide/).

    3) Each category will have a different look and feel, almost like a different theme. (I realise that this can be easily done with a separate WordPress installation for each theme, but would prefer to have only one, so as to make upgrading easier later.)

    I would like to know, can this be done?

  2. Kafkaesqui

    Posted 10 years ago #

    WordPress would be ignorant of one or the other permalink structure (that is, there is currently no way to configure multiple structures in the same installation). So for 1 and 2 it *may* be possible to set this up, but would have to be done manually with a combination of personally constructed .htaccess rewrite rules (for the structure not configured in WP), and any custom PHP scripting required to properly generates the links.

    For 3, I'd start with the Codex info on category templates:


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.