![]() |
Pagination class, previous link - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Pagination class, previous link (/showthread.php?tid=56038) |
Pagination class, previous link - El Forum - 11-22-2012 [eluser]dragon75[/eluser] Hello, When i use paginationc class with this code : Code: $this->load->library('pagination'); I have something like this : Quote:Firt | Previous | 1 | 2 | 3 | 4 | 5 | Next | Last All works but... The link on Quote:| 1 |is : mylink.com/whatiwant/ But the link on Quote:| Previous |is : mylink.com/whatiwant/1.html And this is a duplicat content for me... I just want to have mylink.com/whatiwant/ How i can do ? Best regards. Pagination class, previous link - El Forum - 11-23-2012 [eluser]Aken[/eluser] Change your base_url and first_url options to a full URL using site_url(), don't use the segment (because then it could change on every page, which you don't want). |