base url in controller codeigniter code example Example: codeigniter base_url $this->load->helper('url');