• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help and suggestions for making a short URL structure?

#5
You could point all specific routes to specific controllers and all others to the Products controller:

PHP Code:
// Not tested
$route['members'] = 'members';
$route['checkout'] = 'checkout';
$route['(:any)'] = 'products/index'


Maybe be you also want to get Routes from a Database field.
Reply


Messages In This Thread
RE: Help and suggestions for making a short URL structure? - by natanfelles - 12-02-2017, 12:21 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme ¬© 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.