聯(lián)系官方銷售客服
1835022288
028-61286886
PHP程序里面
我想把url改成:欄目頁 /news/,欄目分頁 /news-2/。后臺設(shè)置URL規(guī)則:
路由規(guī)則
"([a-z0-9]+)-([0-9]+)(.*)" => "index.php?c=category&dir=$1&page=$2", "([a-z0-9]+)(.*)" => "index.php?c=category&dir=$1",
"([a-z0-9]+)-([0-9]+)\/(.*)" => "index.php?c=category&dir=$1&page=$2", "([a-z0-9]+)(.*)" => "index.php?c=category&dir=$1",
均報404,欄目不存在。如果把(.*)去掉,可以正常訪問,但是微信分享出錯。