title: Codeigniter month links do not work
body: <p>My controller</p>
  
  <pre><code>&lt;?php if ( ! defined('BASEPATH')) exit('No direct script access  allowed');
  class Calendar extends MX_Controller
  {
  
   function index()
  {
  
      $this -&gt; display( $year=null, $month=null);
  
  }
  
  function display($year=null,$month=null) 
  {   
      if( ! $this-&gt;bitauth-&gt;logged_in())
      {       
          $this-&gt;session-&gt;set_userdata('redir', current_url());
          redirect('access/login');
      }
      $data['header']=Modules::run('header/header/index'); 
      $data['footer']=Modules::run('footer/footer/index');
  
      $conf=array(
  
          'start_day'=&gt;'monday',
          'day_type'=&gt; 'long',
          'show_next_prev'=&gt;true,
          'next_prev_url'=&gt;'http://datacentral.demo/calendar/'
  
          );
  
      $this-&gt;load-&gt;library('calendar',$conf);
  
      $this-&gt;load-&gt;view('calendar',$data);
  
  
  }
  }
  </code></pre>
  
  <p>My views</p>
  
  <pre><code> &lt;?php echo $this-&gt;calendar-&gt;generate($this-&gt;uri-&gt;segment(3),   $this-&gt;uri-&gt;segment(4)); ?&gt;
  </code></pre>
  
  <p>When I change the month, the url looks normal eg. <a href="http://example.com/calendar/2017/06" rel="nofollow noreferrer">http://example.com/calendar/2017/06</a> but I keep getting this 404 error not found page.</p>
  
  <p>No route specified in my config file. What am I missing?</p>