Remove need for slash at the end of legacy referral urls and fix locale.