Category and Subcategory in WordPress Post Hierarchical URLs

Category and Subcategory in WordPress Post Hierarchical URLs

The WordPress comes with the ability to sort your content into categories, subcategory, tags, and taxonomies. One of the major difference between categories and tags is that categories can have subcategories or child categories. In this article, we will show you how to add categories and subcategories in WordPress  post URLs and how to get the most SEO benefit out of categories.

Example, you can add UnitedStates and then post articles for NewYork City, Los Angeles, Chicago, etc. This is where you can utilize child categories. United States would become a parent category, and cities can become child categories.


Adding Category in WordPress  You can add a new category in WordPress when writing a post. On the post edit screen, scroll down to the categories meta box and click on Add New Category link.



Some websites that use subcategories display both parent and child categories in the URL.
 http://example.com/news/dc-national/article-title-here/

Set a hierarchical URLs like nested sub category : category-name/sub-category-name/sub-category-name/year/month/day/post-slug for all post types and taxonomies

Category and Subcategory in WordPress Post URLs. Enables Category Post URLs, making posts follow categories and parent categories and sub categories
to define their permalink. Assume a blog with the following category structure
for posts:

Download Plugin here : category-post-urls

Comments

Popular posts from this blog

Show Category and Subcategory in WordPress URLs