adapt category slug to url slug