CodeIgniter - Working with URL Params Target a Specific Value $this->uri->segment(n); // n=1 for controller, n=2 for method, etc Using the Router Class