Fixes route URLs.