#475832 - set the site_url in the pre hook instead of post so that all verifications are done with the right url