Few questions about rewriting and pagination! - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Few questions about rewriting and pagination! (/showthread.php?tid=35003) |
Few questions about rewriting and pagination! - El Forum - 10-16-2010 [eluser]AnVeRsLi[/eluser] Hi, I'm stuck with few problems and hope someone can help me. How do i remove the controler name from my url? Example: "example.com/start/category/cat_name" to "example.com/category/cat_name" I'm using one controler for all my pages. Second question is about pagination. When i'm using pagination for "example.com/start/products" works fine, but when i'm using pagination for "example.com/start/products/name" is not working? Few questions about rewriting and pagination! - El Forum - 10-20-2010 [eluser]AnVeRsLi[/eluser] No one? Few questions about rewriting and pagination! - El Forum - 10-20-2010 [eluser]umbongo[/eluser] i'm no expert but i'll bite since no one is helping you... as for the URL, i think you could use apache's mod_rewrite, using the .htaccess file [google will tell you more about that]. As for pagination i think you may have to provide a little more info. There is a good video tutorial on pagination at http://codeigniter.com/wiki/Category:Help::Tutorials Few questions about rewriting and pagination! - El Forum - 10-20-2010 [eluser]AnVeRsLi[/eluser] Pagination -> here <- works, but the problem is with -> this <- page. As you can see, the database connection works when you put the offset manually at the adressbar. |