how to set base_url codeigniter index code example Example: codeigniter base_url $this->load->helper('url');