Page 1 of 1

URL Friendly

PostPosted: 03 Mar 2015, 14:02
by ucolin

Re: URL Friendly

PostPosted: 03 Mar 2015, 14:29
by support

Re: URL Friendly

PostPosted: 03 Mar 2015, 15:14
by ucolin
Please help, I have done many tests and does not work.

This is the rule change:

'<lang:\w{2}>/search' => 'quicksearch/main/mainsearch',

thx

Re: URL Friendly

PostPosted: 04 Mar 2015, 09:36
by support
Hello.

Procedure:
In protected/components/CustomUrlManager there is a method parseUrl which is responsible for links' analysis. Using this method you can modify your link, fill the array $_GET and get a standard url "quicksearch/main/mainsearch".

Though it is a non-trivial task and can be completed only as a paid customization. You can get an estimation filling our form "Contacts" http://monoray.net/contact