title: codeigniter pagination first page URL
body: <p>I know their are a few questions on codeigniter pagination but from what I can tell they dont seem to be relevent.</p>
  
  <p>FYI I am using page numbers in my URL, not the index (using config option use_page_numbers)</p>
  
  <p>So my problem is the first link.</p>
  
  <p>My url structure for a page other than page 1 is:</p>
  
  <p><a href="http://www.something.com/foo/page/x" rel="nofollow">http://www.something.com/foo/page/x</a></p>
  
  <p>That all works fine however when I hover over the link for page 1 the url that comes up is:</p>
  
  <p><a href="http://www.something.com/foo/page/" rel="nofollow">http://www.something.com/foo/page/</a></p>
  
  <p>Now i know thats because ive declared the base url as:</p>
  
  <pre><code>$config['base_url'] = $this-&gt;uri-&gt;slash_segment(1, 'both') . 'page/';
  </code></pre>
  
  <p>But is it possbile to either have the URl for page 1 as:</p>
  
  <p><a href="http://www.something.com/foo/" rel="nofollow">http://www.something.com/foo/</a></p>
  
  <p>OR</p>
  
  <p><a href="http://www.something.com/foo/page/1/" rel="nofollow">http://www.something.com/foo/page/1/</a></p>
  
  <p>Hope that makes sense and someone can help out. I did try setting the base_url to page/1 if the 3rd segment was empty but no joy.</p>
  
  <p>thanks for reading</p>