• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.