聯系官方銷售客服
1835022288
028-61286886
請問怎樣才能吧搜索模塊這樣的鏈接 news/keyword%20-%20測試_%20.html
變成這樣的 /so/搜索.html,后臺是這樣設置的
偽靜態是這樣的
"([a-z]+)\/(.+)_([0-9]+)\.html" => "index.php?s=$1&c=search&rewrite=$2", //搜索頁(分頁)
"([a-z]+)\/(.+)\.html" => "index.php?s=$1&c=search",
解析規則
回復@迅睿框架技術-胡老師
但是鏈接是這樣的/so/keyword%20-%20測試.html
多出個keyword%20-%20,請問怎么去掉呢