• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Routing or remap

#4
Ah, I misread that in your original post. Then you should set it with routes.

Add routes to the routes.php file in ./application/config
PHP Code:
/* Route a url with profile as the first segment to the method view in the
 * controller profiles passing in the match as a variable to the method.
 * (:any) will match anything in the second segment
 * use (:num) to only match numbers
 */
$route['profile/(:any)'] = profiles/view/$1
$route
['property/(:any)'] = properties/view/$
Reply


Messages In This Thread
Routing or remap - by ernestlambert - 09-30-2015, 06:39 AM
RE: Routing or remap - by Martin7483 - 09-30-2015, 07:44 AM
RE: Routing or remap - by ernestlambert - 09-30-2015, 08:33 AM
RE: Routing or remap - by Martin7483 - 09-30-2015, 11:01 AM
RE: Routing or remap - by ngangchill - 09-30-2015, 08:15 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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