Handle relocated url and retry