Automatically redirect url to new when changing URL