• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help set up routes

#1
Hello,

I have a URL like:

* http://site.ru/news/apple/videos/
http://site.ru/news/apple/pictures/
http://site.ru/news/apple/reviews/

And set up routes:
$route['([^.]+)/?'] = 'structure/view/$1';

According to this rule, I get only the first section: news.
How do I get the last instead of the first section, like:
* videos
* pictures
* reviews

Thank's
Reply


Messages In This Thread
Help set up routes - by skylab-spb - 07-16-2016, 10:05 PM
RE: Help set up routes - by skylab-spb - 07-16-2016, 11:37 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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