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.
- Click "Save changes".
Step #2. End result
Go to your public site, check the new structure in the urls.
To reset to default base, repeat step 1 by leaving the category and tag base empty.