迅睿CMS框架是一款PHP8高性能·簡單易用的CMS開源開發(fā)框架,基于MIT開源許可協(xié)議發(fā)布,免費(fèi)且不限制商業(yè)使用,是免費(fèi)開源的產(chǎn)品,以萬端互聯(lián)為設(shè)計(jì)理念,支持的微信公眾號、小程序、APP客戶端、移動(dòng)端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
聯(lián)系官方銷售客服
1835022288
028-61286886
/product/?test=123
這樣的偽靜態(tài)規(guī)則該怎么寫呢?
現(xiàn)在是 "([a-z0-9]+)\/?(.+)" => "index.php?c=category&dir=$1" 訪問不了
帶問號不好偽靜態(tài)呢,為什么要問號呢
"([a-z0-9]+)\/\?(.+)" => "index.php?c=category&dir=$1"
這樣試一試
回復(fù)@迅??蚣芗夹g(shù)-景攸 這是競價(jià)推廣自動(dòng)添加的參數(shù)
"([a-z0-9]+)\/\?(.+)" => "index.php?c=category&dir=$1" 這樣可以訪問
但是正常的 /product/ 不可以訪問了
"([a-z0-9]+)" => "index.php?c=category&dir=$1",
"([a-z0-9]+)\/\?(.+)" => "index.php?c=category&dir=$1",
寫兩個(gè)
帶問號不好偽靜態(tài)呢,為什么要問號呢
"([a-z0-9]+)\/\?(.+)" => "index.php?c=category&dir=$1"
這樣試一試
回復(fù)@迅??蚣芗夹g(shù)-景攸 這是競價(jià)推廣自動(dòng)添加的參數(shù)
"([a-z0-9]+)\/\?(.+)" => "index.php?c=category&dir=$1" 這樣可以訪問
但是正常的 /product/ 不可以訪問了
"([a-z0-9]+)" => "index.php?c=category&dir=$1",
"([a-z0-9]+)\/\?(.+)" => "index.php?c=category&dir=$1",
寫兩個(gè)