updated so that if a url is set even for a root category it is retained
Merge remote-tracking branch 'origin/feature/recursive' into feature/recursive