發表日期:2019-09 文章編輯:小燈 瀏覽次數:3561
以下說明僅適用于6.0版本,自7.0手機版規則與主站設置保持一致即可。
經過測試,受不同服務器軟件版本、是否綁定二級域名等因素影響,不同服務器對規則的解析存在差異。
以下為各服務器偽靜態規則的兩種寫法,如果第一條寫法不生效,試試第二條寫法。
通常情況,第一種寫法適合不綁定二級域名,第二種寫法適合綁定二級域名。
手機版本屬于特殊的獨立站點,建議有條件的用戶盡量綁定二級域名。
Apache1.RewriteRule ^(.*)/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/index.php?moduleid=$2&catid=$3&itemid=$4&page=$52.RewriteRule ^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html$ index.php?moduleid=$1&catid=$2&itemid=$3&page=$4Nginx1.rewrite ^/(.*)/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html$ /$1/index.php?moduleid=$2&catid=$3&itemid=$4&page=$5 last;2.rewrite ^/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html$ /index.php?moduleid=$1&catid=$2&itemid=$3&page=$4 last;IIS61.RewriteRule ^(.*)/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/index\.php\?moduleid=$2&catid=$3&itemid=$4&page=$52.RewriteRule ^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html(\?(.*))*$ index\.php\?moduleid=$1&catid=$2&itemid=$3&page=$4IIS7+1.<match url="^(.*)/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$" /><action type="Rewrite" url="{R:1}/index.php?moduleid={R:2}&catid={R:3}&itemid={R:4}&page={R:5}"/>2.<match url="^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$" /><action type="Rewrite" url="index.php?moduleid={R:1}&catid={R:2}&itemid={R:3}&page={R:4}"/>Zeus1.match URL into $ with ^(.*)/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html$if matched thenset URL = $1/index.php?moduleid=$2&catid=$3&itemid=$4&page=$5endif2.match URL into $ with ^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html$if matched thenset URL = index.php?moduleid=$1&catid=$2&itemid=$3&page=$4endif
手機版
實在不行就再加上日期:2019-09 瀏覽次數:3732
日期:2019-09 瀏覽次數:3046
日期:2019-09 瀏覽次數:3084
日期:2019-09 瀏覽次數:2995
日期:2019-09 瀏覽次數:3997
日期:2019-09 瀏覽次數:3173
日期:2019-09 瀏覽次數:4389
日期:2019-09 瀏覽次數:3031
日期:2019-09 瀏覽次數:3955
日期:2019-09 瀏覽次數:3076
日期:2019-09 瀏覽次數:2852
日期:2019-09 瀏覽次數:2708
日期:2019-09 瀏覽次數:3052
日期:2019-09 瀏覽次數:2889
日期:2019-09 瀏覽次數:3396
日期:2019-09 瀏覽次數:2955
日期:2019-09 瀏覽次數:2786
日期:2019-09 瀏覽次數:2701
日期:2019-09 瀏覽次數:2754
日期:2019-09 瀏覽次數:2754
日期:2019-09 瀏覽次數:2851
日期:2019-09 瀏覽次數:2707
日期:2019-09 瀏覽次數:2714
日期:2019-09 瀏覽次數:2980
日期:2019-09 瀏覽次數:3242
日期:2019-09 瀏覽次數:2658
日期:2019-09 瀏覽次數:2817
日期:2019-09 瀏覽次數:3560
日期:2019-09 瀏覽次數:2693
日期:2019-09 瀏覽次數:2925
Copyright ? 2013-2018 Tadeng NetWork Technology Co., LTD. All Rights Reserved.