Remove /categories/ from WordPress URL’s

wordpress /categories/

I’m in the process of setting up onepagerage.com, a website dedicated to one page website design which I believe is great for SEO and makes designers think long and hard about how information interacts as opposed to leaving a rectangular space for text content… any way i digress.

On the install of this theme using the excellent Moon Themes Post theme for WordPress, I encountered a problem. all categories were prefixed with the folder /categories/ making the url structure of the site 2 folders deep from the get go. Needless to say I wanted to find an elegant solution that wouldn’t mean hacking code or using a plugin.

The fix is simple and effective:

categories

in Settings>Permalinks>Category Base enter /. (slash full stop) and click on save.

Voila… all categories are now presented like pages in the sites root!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>