Support » How-To and Troubleshooting » [Resolved] Entering a blank category prefix

[Resolved] Entering a blank category prefix

  • Hi, I am using WordPress 2.2.1, and I wanted to set the category prefix to blank, but when I put it blank it ends up using /category/… Is there any way in which I can access to the category with slug computers by going to computers/ instead of /category/computers/?

    Thank you in advance. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • As nobody answers the question (maybe I didn’t wait enough time?) I will specify what I wanna do. I want to treat the categories as sections, so each post have only one category assigned to them. I’m using the simple tags plugin for more information about the post.

    So, my current post url is /%category%/%post%/, so I’d like to see a list of all the posts inside a category in /%category%/, but it won’t let me (I would have to use blank, but then it’s the default prefix /category/.

    I’ve seen that I can use /anything_here/%category%/%post%/ as the post url, and /anything_here/ as the category prefix, giving me what I want, if it were not for the anything_here text.

    Do you have any ideas? It’s not really urgent, it’s mostly aesthetical… but anyways I’d like it like that.

    Hi, Andresj.

    I do the same thing on my sites–using categories as sections. There are on these forums several ongoing discussions about the default category slug. The short and sweet answer you want, though, is to put “/.” (slash period) in the Category Base field on the Options > Permalinks screen. That will give you domain.com/%category%/ instead of domain.com/category/%category%/ .

    thanks! I just changed the permalinks and it works perfectly! 🙂

    My pleasure. Good luck!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Entering a blank category prefix’ is closed to new replies.