ci4:version 4.4.3 Pagination - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: ci4:version 4.4.3 Pagination (/showthread.php?tid=88844) |
ci4:version 4.4.3 Pagination - byoosdigital - 11-18-2023 Hello CI4, I am working on a CI4 application with manual pagination, I have a problem with URL on the following pages, OK http://localhost/1__codeigniter_dev/public/en/blog/1 then the following pages... http://localhost/public/en/blog/1/2 error 404 ??? an idea, below the code controllers PHP Code: //custom byoosdigital.com library: PHP Code: // custom byoosdigital.com RE: ci4:version 4.4.3 Pagination - kenjis - 11-18-2023 See https://codeigniter4.github.io/CodeIgniter4/helpers/url_helper.html?highlight=uri_string#uri_string RE: ci4:version 4.4.3 Pagination - byoosdigital - 11-19-2023 (11-18-2023, 06:59 PM)kenjis Wrote: See https://codeigniter4.github.io/CodeIgniter4/helpers/url_helper.html?highlight=uri_string#uri_stringThanks @kenjis, For having put me on the right path, the uri_string() function actually returns the segments following base_url(), I had completely missed that with URI pagination increases by one HO segment FIX code PHP Code: //custom byoosdigital.com |