TShopping

標題: dz x3 瀑布流圖文 2.62成熟版 [打印本頁]

作者: woff    時間: 2013-10-11 23:19
標題: dz x3 瀑布流圖文 2.62成熟版
[attach]179121[/attach]

1、在插件件後台把開關」是否啟用偽靜態地址"設置為是;
2、請參照下面的代碼,把相應的規則添加到你對應的服務器偽靜態文件中去(比如apache是.htaccess文件,iis是httpd.ini文件,Nginx是nginx.conf文件中的server段)
(1)、Apache web Server(獨立主機用戶)
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(.*)/show_c([0-9]*)_t([0-9]*)_f([0-9]*)_o([0-9]*)_s([0-9]*)_p([0-9]*)\.html$ $1/plugin.php?id=waterfall:waterfall&fid=$2&typeid=$3&filter=$4&orderby=$5&sub=$6&page=$7&%1
(2)、Apache Web Server(虛擬主機用戶)        
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^show_c([0-9]*)_t([0-9]*)_f([0-9]*)_o([0-9]*)_s([0-9]*)_p([0-9]*)\.html$ plugin.php?id=waterfall:waterfall&fid=$1&typeid=$2&filter=$3&orderby=$4&sub=$5&page=$6&%1
(3)、IIS Web Server(獨立主機用戶)
RewriteRule ^(.*)/show_c([0-9]*)_t([0-9]*)_f([0-9]*)_o([0-9]*)_s([0-9]*)_p([0-9]*)\.html(\?(.*))*$ $1/plugin\.php\?id=waterfall:waterfall&fid=$2&typeid=$3&filter=$4&orderby=$5&sub=$6&page=$7
(4)、IIS7 Web Server(獨立主機用戶)
<rule name="waterfall">
<match url="^(.*/)*show_c([0-9]*)_t([0-9]*)_f([0-9]*)_o([0-9]*)_s([0-9]*)_p([0-9]*)\.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=waterfall:waterfall&fid={R:2}&typeid={R:3}&filter={R:4}&orderby={R:5}&sub={R:6}&page={R:7}" />
</rule>        
(5)、Nginx Web Server
RewriteRule ^([^\.]*)/show_c([0-9]*)_t([0-9]*)_f([0-9]*)_o([0-9]*)_s([0-9]*)_p([0-9]*)\.html$ $1/plugin.php?id=waterfall:waterfall&fid=$2&typeid=$3&filter=$4&orderby=$5&sub=$6&page=$7 last;
3、把插件在主導航中的菜單項的鏈接地址由原來的plugin.php?id=waterfall:waterfall改為show_c_t_f_o_s_p.html即可。


本文來自: POLE FORUM 詳細文章參考:http://121.54.171.193/~pole1010/upload/thread-2083-1-2.html





歡迎光臨 TShopping (http://www.tshopping.com.tw/) Powered by Discuz! X3.2