CodeIgniter Forums
Route URL Question - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Route URL Question (/thread-9593.html)

Route URL Question - El Forum - 07-01-2008

Hello All

How to implement shortcut url in codeigniter?

Example: it is routed to the rnrm home profile. it is routed to the signin controller it is an 404 error because invalid is not a valid profile or it is not a valid controller

I have modify route configuration like this:


And this is sample controller to determine if the url is valid or not:
class Url extends controller {
    function profile($url)
        if (isValidProfile($url)){

                // confusing here
                // how to route/forward to the corresponding controller

Thx in advance...