發表日期:2019-09 文章編輯:小燈 瀏覽次數:3557
以下說明僅適用于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 瀏覽次數:3725
日期:2019-09 瀏覽次數:3041
日期:2019-09 瀏覽次數:3075
日期:2019-09 瀏覽次數:2989
日期:2019-09 瀏覽次數:3984
日期:2019-09 瀏覽次數:3166
日期:2019-09 瀏覽次數:4374
日期:2019-09 瀏覽次數:3022
日期:2019-09 瀏覽次數:3944
日期:2019-09 瀏覽次數:3066
日期:2019-09 瀏覽次數:2844
日期:2019-09 瀏覽次數:2698
日期:2019-09 瀏覽次數:3047
日期:2019-09 瀏覽次數:2880
日期:2019-09 瀏覽次數:3392
日期:2019-09 瀏覽次數:2948
日期:2019-09 瀏覽次數:2778
日期:2019-09 瀏覽次數:2691
日期:2019-09 瀏覽次數:2747
日期:2019-09 瀏覽次數:2750
日期:2019-09 瀏覽次數:2845
日期:2019-09 瀏覽次數:2700
日期:2019-09 瀏覽次數:2706
日期:2019-09 瀏覽次數:2973
日期:2019-09 瀏覽次數:3236
日期:2019-09 瀏覽次數:2651
日期:2019-09 瀏覽次數:2812
日期:2019-09 瀏覽次數:3556
日期:2019-09 瀏覽次數:2688
日期:2019-09 瀏覽次數:2920
Copyright ? 2013-2018 Tadeng NetWork Technology Co., LTD. All Rights Reserved.