• Apparently WP2.3 doesn’t allow for using duplicate slugs for child categories like it did in previous versions.

    for example, in a multi-language setup:

    mysite.com/english/projects/postname

    mysite.com/dutch/projects/postname

    wouldn’t work any more, since ‘projects’ as a category slug is only allowed once.

    (A number would be added to the slug if an upgrade is applied, which is undesirable in my case, really)

    I’d love to hear if anyone has a workaround/hack, or any news on if this will be re-implemented in WP2.5 (or any future version for that matter)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mendezki

    (@mendezki)

    OK, I just tried the 2.5 nightly build and (as I expected) it doesn’t allow for duplicate category names either.

    (In extension to this stuff, I can’t even find a way to edit page or post slugs any more)

    Intentionally, duplicate categories are not allowed. See Trac ticket 3799 .

    Also, I think Trac ticket 5749 addresses the slug question.

    Thread Starter mendezki

    (@mendezki)

    Thanks for the reply, MichaelH.

    In my second post I wrongfully mentioned category names where I meant to refer to category slugs.

    WP2.3/2.5 does seem to allow duplicate category names (so far) as long as it is a child category. It doesn’t however allow duplicate slugs the way it allows for duplicate page slugs (if the page is a child page).

    Apparently this is intended due to the new taxonomy stuff.
    This ‘new’ behaviour doesn’t really facilitate using WP as a cms, permalink-wise (I know, it is a blogging engine ;).

    In my example above, the pre-WP-2.3 possible permalinks:

    mysite.com/deutsch/projects/graphic/postname

    and

    mysite.com/english/projects/graphic/postname

    would turn (for whatever categories are created last) into

    mysite.com/english/projects-1/graphic-1/postname

    Not very desirable, if one is nit-picky about ones’ pretty permalinks. Any suggestions (besides using a different cms) are welcomed : )

    Sidenote: Thanks for the howto-edit-the-slug-pointer, my test install doesn’t use pretty permalinks yet so I missed that. Adding it to the admin menu when writing/editinging a post would easily be done with a plugin I guess

    I too miss the old behavior (although the warning is very nicely formatted). I’ll be looking for a workaround to this. So far it seems the only workaround is to first create a duplicate category with a different name/slug, setting it to the child of whatever category. Then after it is created, it is possible to edit it and change the name at that point to be a duplicate name/slug.

    Thread Starter mendezki

    (@mendezki)

    Thanks for the tip tmuka

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Duplicate child category slug in WP2.3/WP2.5’ is closed to new replies.