| WordPress
Set a Custom Base for Category and Tag Urls in WordPress

By default, WordPress includes the words category and tag as the basis for the URLs of important pages. For example:

  • mysite.com/category/something - for a category page.
  • mysite.com/tag/something - for a tag page.

In this tutorial, I'm going to show you how to replace the words "category" and "tag" in your URLs.

Step #1. Set custom category and tag base

  • Go to Settings > Permalinks > Optional.
  • Type custom Category base and Tag base. No empty spaces.
Base for Category and Tag WordPress
  • Click "Save changes".

Step #2. End result

Go to your public site, check the new structure in the urls.

Category page:

Base for Category and Tag WordPress

Tag page:

Base for Category and Tag WordPress

To reset to default base, repeat step 1 by leaving the category and tag base empty.


About the author

Valentín creates beautiful designs from amongst the tequila plants of Jalisco, Mexico. You can see Valentín's design work all over this site and you can often find him helping members in support.