自拍亚洲一区欧美另类,亚洲成人影院,亚洲午夜久久久久妓女影院,最近中文字幕高清中文字幕无,亚洲熟妇av一区二区三区漫画

互聯(lián)網(wǎng)知識(shí)

精準(zhǔn)傳達(dá) ? 價(jià)值共享

洞悉互聯(lián)網(wǎng)前沿資訊,探尋網(wǎng)站營銷規(guī)律

織夢DEDECMS城市分站偽靜態(tài)規(guī)則

作者:狐靈科技 | 2020-03-22 22:29 |點(diǎn)擊:

上一篇文章寫了織夢多城市插件安裝圖文教程【偽靜態(tài)版】

這篇文章給大家分享一下分站的偽靜態(tài)規(guī)則其中包含 .htaccess,bcloud_nginx_user.conf,Nginx寶塔,以及web.config

.htaccess 是Apache的靜態(tài)文件

bcloud_nginx_user.conf是百度云主機(jī)的靜態(tài)文件


Nginx是linux寶塔的偽靜態(tài)文件,復(fù)制里面的內(nèi)容到偽靜態(tài)設(shè)置即可。


web.config 是IIS的靜態(tài)文件

——————————————————————


.htaccess 偽靜態(tài)規(guī)則

  1. RewriteEngine On
    RewriteRule ^.*list-([0-9]+)-([0-9]+)-([0-9]+).html$ /plus/list.php?tid=$1&totalresult=$2&PageNo=$3 
     
    RewriteRule ^.*list-([0-9]+).html$ /plus/list.php?tid=$1
     
    RewriteRule ^.*view-([0-9]+).html$ /plus/view.php?arcID=$1
     
    RewriteRule ^.*/.*-([0-9]+)-([0-9]+).html$ /plus/view.php?aid=$1&pageno=$2
    RewriteRule ^.*-([0-9]+)-([0-9]+).html$ /plus/view.php?aid=$1&pageno=$2
     
    RewriteRule ^tags/([^-]+).html$ /tags.php?/$1/
    RewriteRule ^.*/tags/([^-]+).html$ /tags.php?/$1/
     
    RewriteRule ^tags/([^-]+)-([0-9]+).html$ /tags.php?/$1/$2
    RewriteRule ^.*/tags/([^-]+)-([0-9]+).html$ /tags.php?/$1/$2
     
    RewriteRule ^index.html$ index.php
    RewriteRule ^.*/index.html$ index.php


bcloud_nginx_user.conf 偽靜態(tài)規(guī)則


  1. rewrite ^/.*list-([0-9]+)-([0-9]+)-([0-9]+).html$ /plus/list.php?tid=$1&totalresult=$2&PageNo=$3;
    rewrite ^/.*list-([0-9]+).html$ /plus/list.php?tid=$1;
    rewrite ^/.*view-([0-9]+).html$ /plus/view.php?arcID=$1;
    rewrite ^/.*/.*-([0-9]+)-([0-9]+).html$ /plus/view.php?aid=$1&pageno=$2;
    rewrite ^/.*-([0-9]+)-([0-9]+).html$ /plus/view.php?aid=$1&pageno=$2;
    rewrite ^/tags/([^-]+).html$ /tags.php?/$1/;
    rewrite ^/.*/tags/([^-]+).html$ /tags.php?/$1/;
    rewrite ^/tags/([^-]+)-([0-9]+).html$ /tags.php?/$1/$2;
    rewrite ^/.*/tags/([^-]+)-([0-9]+).html$ /tags.php?/$1/$2;
    rewrite ^/index.html$ /index.php;
    rewrite ^/.*/index.html$ /index.php;

寶塔Nginx偽靜態(tài)規(guī)則


  1. rewrite ^/.*list-([0-9]+)-([0-9]+)-([0-9]+).html$ /plus/list.php?tid=$1&totalresult=$2&PageNo=$3;
    rewrite ^/.*list-([0-9]+).html$ /plus/list.php?tid=$1;
    rewrite ^/.*view-([0-9]+).html$ /plus/view.php?arcID=$1;
    rewrite ^/.*/.*-([0-9]+)-([0-9]+).html$ /plus/view.php?aid=$1&pageno=$2;
    rewrite ^/.*-([0-9]+)-([0-9]+).html$ /plus/view.php?aid=$1&pageno=$2;
    rewrite ^/tags/([^-]+).html$ /tags.php?/$1/;
    rewrite ^/.*/tags/([^-]+).html$ /tags.php?/$1/;
    rewrite ^/tags/([^-]+)-([0-9]+).html$ /tags.php?/$1/$2;
    rewrite ^/.*/tags/([^-]+)-([0-9]+).html$ /tags.php?/$1/$2;
    rewrite ^/index.html$ /index.php;
    rewrite ^/.*/index.html$ /index.php;
     


web.config 是IIS的偽靜態(tài)規(guī)則

  1. <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <rewrite>
                <rules>
                    <clear />
                    <rule name="tool.apizl.com rewriteTools1" patternSyntax="ECMAScript" stopProcessing="false">
                        <match url="^.*list-([0-9]+)-([0-9]+)-([0-9]+).html" ignoreCase="false" />
                        
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                        <action type="Rewrite" url="/plus/list.php?tid={R:1}&amp;totalresult={R:2}&amp;PageNo={R:3}" appendQueryString="false" />
                    </rule><rule name="tool.apizl.com rewriteTools3" patternSyntax="ECMAScript" stopProcessing="false">
                        <match url="^.*list-([0-9]+).html" ignoreCase="false" />
                        
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                        <action type="Rewrite" url="/plus/list.php?tid={R:1}" appendQueryString="false" />
                    </rule><rule name="tool.apizl.com rewriteTools5" patternSyntax="ECMAScript" stopProcessing="false">
                        <match url="^.*view-([0-9]+).html" ignoreCase="false" />
                        
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                        <action type="Rewrite" url="/plus/view.php?arcID={R:1}" appendQueryString="false" />
                    </rule><rule name="tool.apizl.com rewriteTools7" patternSyntax="ECMAScript" stopProcessing="false">
                        <match url="^.*/.*-([0-9]+)-([0-9]+).html" ignoreCase="false" />
                        
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                        <action type="Rewrite" url="/plus/view.php?aid={R:1}&amp;pageno={R:2}" appendQueryString="false" />
                    </rule><rule name="tool.apizl.com rewriteTools8" patternSyntax="ECMAScript" stopProcessing="false">
                        <match url="^.*-([0-9]+)-([0-9]+).html" ignoreCase="false" />
                        
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                        <action type="Rewrite" url="/plus/view.php?aid={R:1}&amp;pageno={R:2}" appendQueryString="false" />
                    </rule><rule name="tool.apizl.com rewriteTools10" patternSyntax="ECMAScript" stopProcessing="false">
                        <match url="^tags/([^-]+).html" ignoreCase="false" />
                        
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                        <action type="Rewrite" url="/tags.php?/{R:1}/" appendQueryString="false" />
                    </rule><rule name="tool.apizl.com rewriteTools11" patternSyntax="ECMAScript" stopProcessing="false">
                        <match url="^.*/tags/([^-]+).html" ignoreCase="false" />
                        
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                        <action type="Rewrite" url="/tags.php?/{R:1}/" appendQueryString="false" />
                    </rule><rule name="tool.apizl.com rewriteTools13" patternSyntax="ECMAScript" stopProcessing="false">
                        <match url="^tags/([^-]+)-([0-9]+).html" ignoreCase="false" />
                        
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                        <action type="Rewrite" url="/tags.php?/{R:1}/{R:2}" appendQueryString="false" />
                    </rule><rule name="tool.apizl.com rewriteTools14" patternSyntax="ECMAScript" stopProcessing="false">
                        <match url="^.*/tags/([^-]+)-([0-9]+).html" ignoreCase="false" />
                        
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                        <action type="Rewrite" url="/tags.php?/{R:1}/{R:2}" appendQueryString="false" />
                    </rule><rule name="tool.apizl.com rewriteTools16" patternSyntax="ECMAScript" stopProcessing="false">
                        <match url="^index.html" ignoreCase="false" />
                        
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                        <action type="Rewrite" url="index.php" appendQueryString="false" />
                    </rule><rule name="tool.apizl.com rewriteTools17" patternSyntax="ECMAScript" stopProcessing="false">
                        <match url="^.*/index.html" ignoreCase="false" />
                        
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                        <action type="Rewrite" url="index.php" appendQueryString="false" />
                    </rule>
                </rules>
            </rewrite>
            <httpErrors>
     
    </httpErrors>
        </system.webServer>
    </configuration>

以上就是 織夢DEDECMS城市分站偽靜態(tài)規(guī)則
如沒特殊注明,文章均為狐靈科技原創(chuàng),轉(zhuǎn)載請注明?? "織夢DEDECMS城市分站偽靜態(tài)規(guī)則
多一份免費(fèi)策劃方案,總有益處。

請直接添加技術(shù)總監(jiān)微信聯(lián)系咨詢

網(wǎng)站設(shè)計(jì) 品牌營銷

多一份參考,總有益處

聯(lián)系狐靈科技,免費(fèi)獲得專屬《策劃方案》及報(bào)價(jià)

咨詢相關(guān)問題或預(yù)約面談,可以通過以下方式與我們聯(lián)系

業(yè)務(wù)熱線:15082661954 / 大客戶專線:15523356218