title: Adding Text before pagination link segment of codeigniter
body: <p>hi i just want to ask about codeigniter pagination link.</p>
  
  <p>this my controller : </p>
  
  <pre><code>    $configp['base_url'] = base_url().'post';
      $configp['total_rows'] = $this-&gt;db-&gt;where('status',0)-&gt;get('room_post')-&gt;num_rows();
      $configp['per_page'] =5;
      $configp['uri_segment'] = 2;
  
      $this-&gt;pagination-&gt;initialize($configp);
  
      $data['pendinglink'] = $this-&gt;pagination-&gt;create_links();
  </code></pre>
  
  <p>i want to add text before the segment of pagination example if i create this link it will generate this link</p>
  
  <pre><code>&lt;strong&gt;1&lt;/strong&gt;
  &lt;a href="http://localhost/istay/post/5" data-ci-pagination-page="2"&gt;2&lt;/a&gt;
  &lt;a href="http://localhost/istay/post/5" data-ci-pagination-page="2" rel="next"&gt;&amp;gt;&lt;/a&gt;
  </code></pre>
  
  <p>i want to add "pendingpost" before "5" of "<a href="http://localhost/istay/post/5" rel="nofollow">http://localhost/istay/post/5</a>" so it will have a result of "<a href="http://localhost/istay/post/pendingpost/5" rel="nofollow">http://localhost/istay/post/pendingpost/5</a>"</p>
  
  <p>i search about it and i find out about "config['first_url']" but i don't fully understand it and i think it will only modify first url of the link. i hope someone can help. thx.</p>