我正在尝试为我的项目重写 url,但不确定是否有可能。
当前 url 是:http://localhost/mu/shoe/individualShoe/21
并且我希望它是http://localhost/mu/shoe/Puma-Rockstar
(其中 id 替换为产品名称)。
请让我知道这是否可能。
感谢摇滚明星!
我正在尝试为我的项目重写 url,但不确定是否有可能。
当前 url 是:http://localhost/mu/shoe/individualShoe/21
并且我希望它是http://localhost/mu/shoe/Puma-Rockstar
(其中 id 替换为产品名称)。
请让我知道这是否可能。
感谢摇滚明星!
have you try http://ellislab.com/codeigniter/user-guide/general/urls.html
you can also read http://www.addedbytes.com/articles/for-beginners/url-rewriting-for-beginners/
than try ;)