[eluser]joergy[/eluser]
So why not using the last or first segment always?
Depends on Your $config['base_url']...
Be car full with the value of $config[‘cur_page’]. I had really a hard time with this value but for me $config['pagination']['use_page_numbers'] was FALSE. I recommend walking through the code.