restructure urls