Redirect to homepage if fail to create product