Welcome Guest, Not a member yet? Register   Sign In
Help with routes
#7

[eluser]louis w[/eluser]
Ok, progress.

I made a whole new site to make sure there was nothing else conflicting. During this process I noticed that your original route was missing an ending ; I think this caused the loop problem.

I have it working with just your two bare bones except in one instance. If you type in /foo/bar it does not rewrite to page (/admin/bar does work).

Also, swap out both of your index methods for the below _remap one. I am using it to distribute the request.

Code:
function _remap() {
            echo 'HELLO This is page. The url is: '.$this->uri->uri_string();
    }


Messages In This Thread
Help with routes - by El Forum - 04-23-2008, 12:07 PM
Help with routes - by El Forum - 04-23-2008, 02:38 PM
Help with routes - by El Forum - 04-23-2008, 02:44 PM
Help with routes - by El Forum - 04-23-2008, 03:03 PM
Help with routes - by El Forum - 04-23-2008, 03:06 PM
Help with routes - by El Forum - 04-23-2008, 03:11 PM
Help with routes - by El Forum - 04-23-2008, 03:35 PM
Help with routes - by El Forum - 04-23-2008, 03:40 PM
Help with routes - by El Forum - 04-23-2008, 03:43 PM
Help with routes - by El Forum - 04-23-2008, 03:44 PM
Help with routes - by El Forum - 04-23-2008, 03:46 PM
Help with routes - by El Forum - 04-23-2008, 03:51 PM
Help with routes - by El Forum - 04-23-2008, 03:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB