Product categories in url


I have following product categories in my app.

Women -> Outerwear 

When I go to outwear category. Current URL is following

foo.com/outerwear 

But I want to:

foo.com/women/outwear 

how can I do it? how to setup it?

Thanks for any advice 🙂