Set Category Base to NULL
In WordPress by default the categories permalinks are as follows: http://example.com/category/%category%, where %category% is the name of the category.
However, I want to get rid of the /category/ so a link to a category would look like: http://example.com/%category/
Currently the permalinks to my posts are: http://example.com/%category%/%postname%
Having the permalink as http://example.com/%category/ would more clearly define a URL structure to search crawlers. Unfortunately, I haven’t been able to set the category base to just nothing (NULL) because if you leave that field empty, it will use the /category/%category% structure by default.
Setting the category base to %category% will come come up with links like: http://example.com/pc/pc, where pc is a category.
Sorry if it sounds confusing, I hope you know what I mean. Anyone know any plugins, methods, or code edits for this?
- The topic ‘Set Category Base to NULL’ is closed to new replies.