switching to url slug