I have created a simple e-commerce application using Yii Framework. I’m having trouble regarding the URL Manager.
i have this URL
(http://www.site.com/items/all?cat=beverages)
How can I use URL manager to make it to
(http://www.site.com/items/beverages)
Thank you!
I figured it out…
I included this rule on the urlManager:
Then on Yii Create Url, I placed the following values,
It then made a link of:
www.site.com/items/beverages
Hope this helps someone.
Oh, and PS, you need to make sure that you dont have a conflicting controller or module with your preferred URL.