Why has my form stopped redirecting to my custom URL?