URL Helper — CodeIgniter 3.1.13 documentation
Available Functions¶. Returns your site URL, as specified in your config file. The index.php file (or whatever you have set as your site index_page in your config file) will be added to the URL, as will any URI segments you pass to the function, plus the url_suffix as set in your config file. You are encouraged to use this function any time ...