Codeigniter URI routing not working 404 error
<p>my view is :- </p>

<pre><code>&lt;li class=""&gt;
  &lt;a class="" href="&lt;?php echo base_url(); ?&gt;Login"&gt; 
  &lt;i class="fa fa-unlock-alt"&gt;&lt;/i&gt;&amp;nbsp;Login &lt;/a&gt;
&lt;/li&gt;
</code></pre>

<p>my Login Controler</p>

<pre><code>class Login extends CI_Controller {
    public function __construct(){
        parent::__construct();
    }
    public function index()
    {
         $this-&gt;load-&gt;view('login');
    }
}
</code></pre>

<p>When i clicked on link it says 404 page not found.
but when edit the link manually and write <strong>/index.php/Login</strong> it is working fine. how to fix this...</p>