Fix URL structure.