How to remove controller and function name from base url in Codeigniter
<p>Im having this issue:</p>

<p>I have a URL for example:</p>

<p><a href="http://www.example.com/home" rel="nofollow noreferrer">http://www.example.com/home</a></p>

<p>in which 'home' is the name of the controller calling his index function.  Everything works fine in here but I want to call that home controller but only showing base url like this:</p>

<p><a href="http://www.example.com" rel="nofollow noreferrer">http://www.example.com</a></p>

<p>Anyone knows how to do this?  Setting routes like this:</p>

<pre><code>$routes[''] = 'Home';
</code></pre>

<p>It doesn't work for me.</p>

<p>Thanks in advance for any information.</p>