• I just upgraded to the latest CVS and the category permalinks have changed. They no longer include “/archives” in them and are not converting to all lowercase letters.
    Is there an option for this on it’s way under Options->Permalinks? This is a pretty drastic change.
    I don’t know about others, but I can’t use the rewrite rule because I have static pages on my site such as mtdewvirus.com/about/ and I don’t want these getting redirected to the WP index.php file with a parameter thinking it is a category.
    It seemed like a pretty major change getting thrown in the mix.

Viewing 15 replies - 1 through 15 (of 18 total)
  • i hope its not like that….. it will break loads of links for me. ??

    Thread Starter Nick Momrik

    (@mtdewvirus)

    I don’t think we’ll be alone on this one!

    Thread Starter Nick Momrik

    (@mtdewvirus)

    Seems like function get_category_link was modified and things were left out.
    It doesn’t include the $front on line 30 and doesn’t use the category_nicename anymore on line 27 (simply uses cat_name). After changing these lines back to an old version of the function, category permalinks are working again.

    damn typos ??

    I ran the updated upgrade.php in wp-admin and the new category prefix option started working (it’s a new option on the Permalinks admin page), but the wp_list_cats() still returns bogus links.
    If I put in “/category” for the category prefix, I get category links like:
    https://website/category/CategoryName/
    or
    https://website/category/parent/ChildCategory/
    which do not work right now.

    I’m having the same problem as bturner, where the /category in permalinks doesn’t work.

    Thread Starter Nick Momrik

    (@mtdewvirus)

    Where do you see the new option? I just made sure I uploaded all of the files from CVS and still I don’t see a new permalink option for categories and I had to fix the code as I explained above.

    I get the option on /wp-admin/options-permalink.php, right below where you specify the permalink structure for individual archives.
    There’s a long input text box, with this above it:
    Enter a path without templates for your categories: FIXME[THIS WORDING MAKES NO SENSE]
    At first it didn’t save what I put in the box, until I ran upgrade.php (which I noticed had been updated when I grabbed the latest from cvs). I guess that updated the db with a place to store the new setting.

    However, that does update the category links, but they still don’t work correctly.

    Is this fixed in today’s nightly build? :/

    Waiting for it to come across the CVS (don’t want to mess with a full dl) but will let you know as soon as it does.

    Fixed. Should be available soon.

    Woo!

    I second that “Woo!”

    Thread Starter Nick Momrik

    (@mtdewvirus)

    I must have been blind or something!! The only problem with them now (and I just upgraded to the latest CVS) is that category_nicename should be used on line 27 instead of cat_name, because cat_name, allows upper case letters and such and doesn’t work. I made the one change in the function and it works great now!

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Category Permalinks’ is closed to new replies.