Create a nested url structure in wordpress for custom categories

I am working on a website in wordpress. I have to show some products which fall under various categories. For Example:

  1. Apparel
    1. Women
      1. Tops
      2. Bottoms
      3. Footwear
    2. Men
      1. Shirts
      2. Bottoms
      3. Footwear
    3. Kids
      1. Shirts
      2. Bottoms
      3. Toys

Now I want the URL Structure to be like :

www.mysite.com/apparel/women/tops for the categories

and If I open a product like abc under the above category , the url should be:

www.mysite.com/apparel/women/tops/abc for the categories

Can anyone please help me in creating the custom categories such that I can get the above url structure with proper pagination.

Thanks


Source: wordpress

Leave a Reply