<i id='s59jhrmd'><tr id='nxedhju5'><dt id='zw3sioxv'><q id='klbsj880'><span id='zvdlxxve'><b id='fiznizh5'><form id='ogkzcn9q'><ins id='zhn7k6fj'></ins><ul id='axobvr2x'></ul><sub id='cmtvz52a'></sub></form><legend id='v0ishnbs'></legend><bdo id='zqkuu2m0'><pre id='p3c5h5mc'><center id='cufiic8j'></center></pre></bdo></b><th id='6uuo1vu3'></th></span></q></dt></tr></i><div id='65krdijs'><tfoot id='3l8x41f9'></tfoot><dl id='5sz8rqi9'><fieldset id='abklhcsc'></fieldset></dl></div>

      <small id='ntv1pfzl'></small><noframes id='rwuk002b'>

    1. <legend id='n1azh8tt'><style id='ke2lfbkw'><dir id='f4tztfr0'><q id='vo9poq0y'></q></dir></style></legend>

        <bdo id='4702tsuc'></bdo><ul id='k55t1l1g'></ul>
      <tfoot id='h7ec8gv9'></tfoot>
    2. 精准传达 • 价值共享

      洞悉互联网前沿资讯,探寻网站营销规律

      织梦DEDECMS城市分站伪静态规则

      作者: 庚午网络 | 2020-11-20 14:54 |点击:

      织梦多城市分站 城市分站伪静态规则

        <tfoot id='ffx4uzv4'></tfoot>
          <bdo id='atbgczjl'></bdo><ul id='e1jvg377'></ul>

              <legend id='2iz1khrf'><style id='vijiqsix'><dir id='v8pioh1a'><q id='to2vwnhl'></q></dir></style></legend>
            1. <i id='qxo5f1rz'><tr id='w9bksbhk'><dt id='cor85bv1'><q id='ym2mq3fj'><span id='me0r1iix'><b id='dn8ad5vd'><form id='oe0wl5a2'><ins id='938m64zd'></ins><ul id='qf6v7h4v'></ul><sub id='t89synup'></sub></form><legend id='zot5ddu6'></legend><bdo id='1zrn09in'><pre id='e0g6fquv'><center id='hw73tclx'></center></pre></bdo></b><th id='pmi3fjak'></th></span></q></dt></tr></i><div id='cm67obbk'><tfoot id='rv02k6fa'></tfoot><dl id='w07oc072'><fieldset id='knfk4f93'></fieldset></dl></div>

              <small id='2ovj82ka'></small><noframes id='orkueiqx'>

                <tbody id='w8n66hjy'></tbody>

                上一篇文章写了织梦多城市插件安装图文教程【伪静态版】

                这篇文章给大家分享一下分站的伪静态规则其中包含 .htaccess,bcloud_nginx_user.conf,Nginx宝塔,以及web.config

                .htaccess 是Apache的静态文件

                bcloud_nginx_user.conf是百度云主机的静态文件


                Nginx是linux宝塔的伪静态文件,复制里面的内容到伪静态设置即可。


                web.config 是IIS的静态文件

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


                .htaccess 伪静态规则

                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 伪静态规则


                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伪静态规则


                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的伪静态规则

                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城市分站伪静态规则
                二度创作,如有侵权请联系删除。如没特殊注明,文章均为庚午网络原创,转载请注明https://www.hngengwu.com/gengwuwenku/535.html
                • <bdo id='drlvwpe8'></bdo><ul id='92tvqi0x'></ul>

                    <legend id='ekmwm1xl'><style id='qyfxpm8z'><dir id='534s5f8l'><q id='qc8bx24l'></q></dir></style></legend>

                    <small id='rgbg7j3d'></small><noframes id='zxms6t38'>

                  1. <tfoot id='fs25gl83'></tfoot>
                  2. <i id='tksa4ms1'><tr id='8z3s3r3f'><dt id='2rm9cf9h'><q id='v0gneu4y'><span id='cin6s2w1'><b id='d3gqcvti'><form id='8caj9x66'><ins id='iuj44o98'></ins><ul id='35i20y7v'></ul><sub id='nai3yc7v'></sub></form><legend id='sdf8nca3'></legend><bdo id='aqf2qbm1'><pre id='kgg4ezzd'><center id='rde8bzz1'></center></pre></bdo></b><th id='frcnkn3e'></th></span></q></dt></tr></i><div id='uiw76knn'><tfoot id='eakixcbm'></tfoot><dl id='avvt45wd'><fieldset id='a7zaw1ic'></fieldset></dl></div>

                  3. 多一份策划方案,总有益处。

                    请直接添加技术总监微信联系咨询

                    网站设计 品牌营销

                    多一份参考,总有益处

                    联系庚午网络,获得专属《策划方案》及报价

                    咨询相关问题或预约面谈,可以通过以下方式与我们联系

                    业务热线:18574395938 / 大客户专线:18574395938