Use base url setting instead of just DOMAIN