How to show URL as /base/parentslug/childslug/

I am new to wordpress, I am trying to implement to include /base/parentslug/childslug/. in URL. (Example: domain/parent/child)

Can u please help me on this.