迅睿CMS框架是一款PHP8高性能·簡(jiǎn)單易用的CMS開(kāi)源開(kāi)發(fā)框架,基于MIT開(kāi)源許可協(xié)議發(fā)布,免費(fèi)且不限制商業(yè)使用,是免費(fèi)開(kāi)源的產(chǎn)品,以萬(wàn)端互聯(lián)為設(shè)計(jì)理念,支持的微信公眾號(hào)、小程序、APP客戶端、移動(dòng)端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
聯(lián)系官方銷售客服
1835022288
028-61286886
tag 分頁(yè)的偽靜態(tài)怎么處理呢
"tag-(.+).html(.*)" => 'index.php?s=tag&name=$1',
"tag-(.+)-([0-9]+).html(.*)" => 'index.php?s=tag&name=$1&page=$2',
規(guī)則寫(xiě)了 但是訪問(wèn)還是動(dòng)態(tài)鏈接
/index.php?s=tag&name=fengshui&page=2
標(biāo)簽代碼怎么寫(xiě)的
回復(fù)@迅??蚣芗夹g(shù)-賀曉光
{php $mm='/index.php?s=tag&name='.$tag['code'].'&page=[page]';}
{related module=article tag=$tag.tags page=1 pagesize=20 urlrule=$mm}
你這個(gè)就是寫(xiě)的動(dòng)態(tài)地址。那么他下一頁(yè)肯定是動(dòng)態(tài)啊
回復(fù)@迅睿框架技術(shù)-賀曉光
{related module=article tag=$tag.tags page=1 pagesize=20 urlrule=/tag-{tag}-[page].html}
我改成這樣了 把php那行刪了
出來(lái)是這個(gè)結(jié)果
{php $mm='/tag-'.$tag['code'].'-[page].html';}
tag頁(yè)面 能同時(shí)查詢2個(gè)模塊的嗎
不可以
url是對(duì)了 但是是404
說(shuō)明你rewrite.php的規(guī)則錯(cuò)了唄
"tag-(.+)-([0-9]+).html(.*)" => 'index.php?s=tag&name=$1&page=$2', "tag-(.+).html(.*)" => 'index.php?s=tag&name=$1',
優(yōu)先級(jí)別問(wèn)題
標(biāo)簽代碼怎么寫(xiě)的
回復(fù)@迅??蚣芗夹g(shù)-賀曉光
{php $mm='/index.php?s=tag&name='.$tag['code'].'&page=[page]';}
{related module=article tag=$tag.tags page=1 pagesize=20 urlrule=$mm}
你這個(gè)就是寫(xiě)的動(dòng)態(tài)地址。那么他下一頁(yè)肯定是動(dòng)態(tài)啊
回復(fù)@迅睿框架技術(shù)-賀曉光
{related module=article tag=$tag.tags page=1 pagesize=20 urlrule=/tag-{tag}-[page].html}
我改成這樣了 把php那行刪了
出來(lái)是這個(gè)結(jié)果
{php $mm='/tag-'.$tag['code'].'-[page].html';}
{related module=article tag=$tag.tags page=1 pagesize=20 urlrule=$mm}
回復(fù)@迅??蚣芗夹g(shù)-賀曉光
tag頁(yè)面 能同時(shí)查詢2個(gè)模塊的嗎
不可以
回復(fù)@迅??蚣芗夹g(shù)-賀曉光
url是對(duì)了 但是是404
回復(fù)@迅睿框架技術(shù)-賀曉光
說(shuō)明你rewrite.php的規(guī)則錯(cuò)了唄
回復(fù)@迅??蚣芗夹g(shù)-賀曉光
"tag-(.+).html(.*)" => 'index.php?s=tag&name=$1',
"tag-(.+)-([0-9]+).html(.*)" => 'index.php?s=tag&name=$1&page=$2',
優(yōu)先級(jí)別問(wèn)題