Remove useless root path from URLs.