Created
May 15, 2013 13:51
-
-
Save jboulhous/5584126 to your computer and use it in GitHub Desktop.
blog routes using Codeigniter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $route['page/(:num)'] = 'blog/index/$1'; | |
| $route['blog/page/(:num)'] = 'blog/index/$1'; | |
| $route['(:num)/(:num)/(:num)/(:any)'] = 'blog/post/$1/$2/$3/$4'; | |
| $route['post/(:any)'] = 'blog/post/$1'; | |
| $route['archive/(:any)'] = 'blog/archive/$1'; | |
| $route['category/(:any)'] = 'blog/category/$1'; | |
| $route['tags/(:any)'] = 'blog/tags/$1'; | |
| $route['search'] = 'blog/search'; | |
| /* End of file blog_routes.php */ | |
| /* Location: ./application/modules/blog/blog_routes.php */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment