Redirect handling for /edit/