Welcome Guest, Not a member yet? Register   Sign In
Rewrite GET paramethers in URL
#1

[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?




Theme © iAndrew 2016 - Forum software by © MyBB