Use SERVER_NAME to avoid parsing site_url()

site_url() was previously retrieved and parsed many times per page
before. This is cleaner and done for optimization purposes.