Removing the Category Base from Your URLs in WordPress

Removing the Category Base from Your URLs in WordPress

Want to take the “category” base term out of your URL – turning mysite.com/category/news into mysite.com/news?

It’s pretty easy to do. You can just install and activate the FV Top Level Cats plugin. There are no settings and nothing to do. Just activate it.

Another Possibility

Another possible trick to get rid of the category base is to set your permalinks to /%category%/%postname%/ and then put a period/dot into the Category base form.

Go to Settings > Permalinks and set it up as follows.

permalinks

While this trick currently works, there’s no telling if it will work in the future.

Free Video Why 100 is NOT a Perfect Google PageSpeed Score (*5 Min Watch) Learn how to use Google PageSpeed Insights to set realistic goals, improve site speed, and why aiming for a perfect 100 is the WRONG goal.
Tags:
Aileen Javier
Aileen Javier A past writer for WPMU DEV
What do you think of this method? Let us know in the comments!