我正在尝试在 Codeigniter 上获取漂亮的 URL。基本上,这就是我想要的。
//http://website.com/State/City/Neighborhood/Zip => http://website.com/search?lotsofParams=1234
$route['/State/City/Neighborhood/Zip'] = "search?location=blahblahblah&Submit=Search";
我愿意手动编写路线,但现在该代码不起作用。知道如何让这个工作吗?