Welcome Guest, Not a member yet? Register   Sign In
CI 2.0.3 TUTORIALS
#1

[eluser]Unknown[/eluser]
Hi, i just tries a tutorial for the latest version of CI which is 2.0.3 this is the link http://ie.mirror.twsweb-int.com/codeigni...pages.html

now on the last part of this tutorial is about routes.
it says that i must config my routes and write down this code

$route['default_controller'] = 'pages';
$route['(:any)'] = 'pages/view/$1'

but when i test the page it shows a 404 page.

btw this code is used to re route a url using a wildcard that matches a request. help please, i'm just a newbie on CI




Theme © iAndrew 2016 - Forum software by © MyBB