By Default, WordPress adds /category/ to the base of category pages.
If the category was ‘WordPress’, this would look like www.domainname.com/category/wordpress which not only looks messy but also makes a confusing user experience, particually when the category has been included in the post URLs.
To fix this you can completely remove the category base tag so it would look like www.domainname/wordpress.
This can be done by following the steps below.
- Log into the WordPress admin
- Open the Settings -> Permalinks page
- Under ‘Category Base’ enter a full stop, that is
- Click ‘Save Changes’