Make editing the URL work as expected