This module adds an option labelled as "Use Parent Category Path for Category URLs" on Magento admin panel -> System -> Configuration -> Catalog -> Seo to remove parent category path from url and change from www.domain.com/cat1/cat2 to www.domain.com/cat2