聯(lián)系官方銷售客服
1835022288
028-61286886
模塊搜索URL偽靜態(tài)錯誤
/***********************下面寫你自己的URL解析規(guī)則********************/
/***********************共享欄目測試規(guī)則:欄目列表頁面分頁的偽靜態(tài)解析*************************/
"([\w]+)\-([0-9]+).html(.*)" => 'index.php?c=category&dir=$1&page=$2',
/***********************共享欄目測試規(guī)則:欄目列表頁面的偽靜態(tài)解析*************************/
"([\w]+).html(.*)" => 'index.php?c=category&dir=$1',
/***********************共享欄目測試規(guī)則:內(nèi)容頁面分頁的偽靜態(tài)解析*************************/
"show\-([0-9]+)\-([0-9]+).html(.*)" => 'index.php?c=show&id=$1&page=$2',
/***********************共享欄目測試規(guī)則:內(nèi)容頁面的偽靜態(tài)解析*************************/
"(.+).html" => "index.php?s=news&c=show&field=zdylj&value=$1",
"(.+).html" => "index.php?s=photo&c=show&field=zdylj&value=$1",
//////////////////////////////////////////////////////////////////////////////////////
/***********************獨立模塊測試規(guī)則、共享模塊測試規(guī)則:搜索頁(帶分頁)*************************/
"([a-z]+)\/search\/(.*).html(.*)" => 'index.php?s=$1&c=search&rewrite=$2',
/***********************獨立模塊測試規(guī)則、共享模塊測試規(guī)則:搜索頁(不帶分頁)*************************/
"([a-z]+)\/search.html(.*)" => 'index.php?s=$1&c=search',
//////////////////////////////////////////////////////////////////////////////////////
/***********************獨立模塊測試規(guī)則:模塊首頁的偽靜態(tài)解析*************************/
"([a-z]+).html(.*)" => 'index.php?s=$1',
/***********************獨立模塊測試規(guī)則:欄目列表頁面分頁的偽靜態(tài)解析*************************/
"([a-z]+)\/list\/([0-9]+)\/([0-9]+).html(.*)" => 'index.php?s=$1&c=category&id=$2&page=$3',
/***********************獨立模塊測試規(guī)則:欄目列表頁面的偽靜態(tài)解析*************************/
"([a-z]+)\/list\/([0-9]+).html(.*)" => 'index.php?s=$1&c=category&id=$2',
/***********************獨立模塊測試規(guī)則:內(nèi)容頁面分頁的偽靜態(tài)解析*************************/
"([a-z]+)\/show\/([0-9]+)\/([0-9]+).html(.*)" => 'index.php?s=$1&c=show&id=$2&page=$3',
/***********************獨立模塊測試規(guī)則:內(nèi)容頁面的偽靜態(tài)解析*************************/
"([a-z]+)\/show\/([0-9]+).html(.*)" => 'index.php?s=$1&c=show&id=$2',
是沒有寫共享模塊的URL嗎
規(guī)則沖突了,調(diào)整順序
這兩組優(yōu)先級非常高,應該放在最后
回復迅睿框架創(chuàng)始人
老大!還真的是沖突了,這個是什么原理呢,不太明白
回復迅??蚣軇?chuàng)始人
兩個規(guī)則放到最后,然后欄目頁打不開了,報錯“共享模塊沒有首頁功能”