How to Add Categories and Subcategories in WordPress?
To add a new category go to Posts > Categories in your WordPress area. Here you can add multiple new categories before uploading any content. You will be able to edit the URL for your categories which is also called slug. This page allows to edit the description of the categories too.
It’s also possible to add a new category when you are writing a new blog post. Click the gear icon in the right upper corner to open the sidebar. Then open the Categories tab. There all of your existing categories will be displayed. Click the Add New Category link there. Fill in the name and leave the Parent Category dropdown menu as is. Click the Add New Category button to save the changes.
Subcategories or child categories can be added in the same way as the parent ones. Go to Posts > Categories. Add a new caegory and select the parent category name in the dropdown menu.
When editing the post open the Categories tab, add a new category and in the Parent Category dropdown choose the one you need.
Child categories can have their own child categories. Categories that are on the same level are the sibling categories.