Support » Fixing WordPress » Permalink:

  • Resolved natalie


    I’ve searched through the docs and support and haven’t found a way to do this. I’d like to have all categories (even sub categories) have permalinks at the root of the domain instead of

    Maybe there’s a plugin? A way to manually write it into the .htaccess file?

Viewing 5 replies - 1 through 5 (of 5 total)
  • There isn’t because it wouldn’t work.
    You can change the word “category” to whatever you like better but WP needs that piece in the url to work properly.

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    There is no good way to do this. Many have tried. All have failed. There are half-assed solutions that appear to work, but break other things.

    WordPress needs some sort of identifier there. You can change that identifier from “category” to anything you like on the Options->Permalink page, but the identifier is simply not optional.

    I figured as much, thank you for confirming that for sure. I’m coming back to WP from Textpattern where I had a “color” category that people have linked to all over the web (and now is broken by my switch back to WP). For anyone looking for a solution to this, I’m going to make a page named “color”, assign it a custom template which will show all of the posts in the color category. Wouldn’t do it for all categories, but this one is more important.

    Thanks again!

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    Alternatively, you could create an .htaccess rule to redirect that /color URL to the /category/color/ URL with a 301 redirect. This would allow search engines to find the newer page directly and update their links and such.

    Even better, Otto, thank you! So simple but I never would have thought of doing that.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Permalink:’ is closed to new replies.