Correct redirect url after import