you can overwrite your any URL by htaccess
or
edit your routes.php file in Codeigniter Config Folder (application -> config -> routes.php)
to do this see this tutorial
Question
I am a newbee to CodeIgniter, I have a page which is called by http://www.example.com/pages/view/about
is it possible to just use http://www.example.com/pages/about
if yes how to do it?
thnak you for your help.
Solution 2
you can overwrite your any URL by htaccess
or
edit your routes.php file in Codeigniter Config Folder (application -> config -> routes.php)
to do this see this tutorial
OTHER TIPS
In your route.php,
$route["pages/(:any)"] = "pages/view/$1"
Caution: You can't call other functions. Pages controller should have only one method in this case.
You can try codeigniter routing http://ellislab.com/codeigniter%20/user-guide/general/routing.html
You can use this in your routes.php:
$route['pages/(:any)'] = 'pages/view/$1'
This will work for only your pages controller. For all other controllers you need to define in the same way. You can also manipulate htaccess file for this.