A module that changes the url path based on element attribute