how to route country region state - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: how to route country region state (/showthread.php?tid=73181) |
how to route country region state - lancomm - 03-27-2019 so this is my first post and would like to know how i would create a routeĀ so i have a country controller. localhost/country/india this page displays a list of regions in india. so i have a controllerĀ localhost/region/southernindia i want my url to look like this localhost/india/southernindia what would be best practice RE: how to route country region state - php_rocs - 03-28-2019 @lancomm, The CI documentation should be helpful to you ( https://codeigniter.com/user_guide/general/routing.html?highlight=route#uri-routing ). Also, you might want to take a look at this too ( https://www.codeigniter.com/userguide3/general/urls.html#codeigniter-urls ). |