My url is :
http://localhost/Pramod/Revite-1/event/view1?var1=a&var2=b
and i wanted it to display as:
http://localhost/Pramod/Revite-1/event/view1/a/b
How can i achieve this using .htaccess file.
Plz help.
My url is :
http://localhost/Pramod/Revite-1/event/view1?var1=a&var2=b
and i wanted it to display as:
http://localhost/Pramod/Revite-1/event/view1/a/b
How can i achieve this using .htaccess file.
Plz help.
You can do that using Yii framework URL Manager component. Read the following article:
You can also read the official documentation of Yii
http://www.yiiframework.com/doc/guide/1.1/en/topics.url#user-friendly-urls
http://www.yiiframework.com/doc/guide/1.1/en/topics.url#using-named-parameters