|Status:||patch - code needs work|
It would be nice to have clean URLs instead of index.php?c=controller&a=action¶m1=value1&active_project=2#32
I will attach a patch that still need some work but I would appreciate some testing done (it can break things easily...).
It will create URL in the form of
The position of project ID can be changed if you feel it would make more sense the other way. Some discussion about that on the dev mailing list.
To make it work (works only with Apache!)
- make sure that the mod_rewrite module is loaded in Apache
- apply the patch as you would for any other patch
- add the following line to config/config.php:
Make sure that mod_rewrite is loaded, otherwise Apache won't be happy with the .htaccess file that is now modified.
Also, if it doesn't work, you can set the variable PRETTY_URL to false. If you delete the line completely, on my machine, php evaluates PRETTY_URL to true by default...