How do I use parent category in permalink ONLY

I am wondering how you would change the permalink structure to show "/%category%/%postname%/" without showing child categories.

For example,

/%category%/%postname%/ will result in http://sitename.com/parent-category/child-category/post-name/ however I want http://sitename.com/parent-category/post-name/

Anyone know how to do this?