You can set the Category or Tags URL base in the Permalinks menu under the Optional section. This means that you determine how the URL will look like for your categories or tags. By default, the tag base will use the words “category” and “tags” when the URL is created for your post category or tag.
For example:
When looking at a Category, the URL will default to something like this:
https://domain_name.com/category
Or, if you’re looking at the URL for a default tag:
https://domain_name.com/tag
Changing how the Category or Tag URL will look
- Login to the WordPress Dashboard
- Click on Settings, then click on Permalinks
Here you will see the Permalinks settings at the top the page. Scroll down until you see the Optional section.
Click on the Category Base field and type in the custom label you want to use for the Category URL. Bear in mind that the URL is case-sensitive. Keep it lower case to make it simple.
- Click on Save Changes to save the changes that you make.
How to remove that category prefix from url completely? I mean like instead of having ‘example.com/category/categoryname’, I want it like ‘example.com/categoryname’. Is it possible?
You can choose custom structure in the Permalinks tab and type “/%postname%/”
How to completely remove that category prefix from url?
You can choose custom structure in the Permalinks tab and type “/%postname%/”
Right now I have domain.com/category/jazz but the same link is also being displayed when visiting domain.com/jazz. I do not want domain.com/jazz to display post from that category. Is this possible?
If you’re using a category and the articles are set to that category, then they will appear if the category is selected. To change the path of a category you would normally have to change its slug or use a redirect of some type.
Hey, can this work for a free hosted WordPress plan??
Hello Humphrey,
Thank you for your question. As long as you have administrator access to the WordPress dashboard, you should be able to perform the task outlined in this guide.
Best Regards,
Alyssa K.
hey,
Do you know how to remove ‘category’ and ‘tag’ from the url, when we access a category and tag page respectively.
This article means to explain that. Was there a specific part you had trouble with?