CodeIgniter Forums

Full Version: Rewrite GET paramethers in URL
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
Hi,

In default configuration, the GET parameters in the URL look like that:

Code:
http://example.com/example/page/1/cat/2/dunno/3/

representing

Code:
page=1 cat=2 dunno=3

I want to use them in a different way :

Code:
http://example.com/example/page:1/cat:2/dunno:3/

I created the routing rule so that the parameters are sent to the correct function in controller.

My question is:

How to change the code (and which file do I have to alter) so that the URL after sending the form looks the way I pointed above?