• <tr id='l8FssQ'><strong id='l8FssQ'></strong><small id='l8FssQ'></small><button id='l8FssQ'></button><li id='l8FssQ'><noscript id='l8FssQ'><big id='l8FssQ'></big><dt id='l8FssQ'></dt></noscript></li></tr><ol id='l8FssQ'><option id='l8FssQ'><table id='l8FssQ'><blockquote id='l8FssQ'><tbody id='l8FssQ'></tbody></blockquote></table></option></ol><u id='l8FssQ'></u><kbd id='l8FssQ'><kbd id='l8FssQ'></kbd></kbd>

    <code id='l8FssQ'><strong id='l8FssQ'></strong></code>

    <fieldset id='l8FssQ'></fieldset>
          <span id='l8FssQ'></span>

              <ins id='l8FssQ'></ins>
              <acronym id='l8FssQ'><em id='l8FssQ'></em><td id='l8FssQ'><div id='l8FssQ'></div></td></acronym><address id='l8FssQ'><big id='l8FssQ'><big id='l8FssQ'></big><legend id='l8FssQ'></legend></big></address>

              <i id='l8FssQ'><div id='l8FssQ'><ins id='l8FssQ'></ins></div></i>
              <i id='l8FssQ'></i>
            1. <dl id='l8FssQ'></dl>
              1. <blockquote id='l8FssQ'><q id='l8FssQ'><noscript id='l8FssQ'></noscript><dt id='l8FssQ'></dt></q></blockquote><noframes id='l8FssQ'><i id='l8FssQ'></i>
                YUNUCMS Apache下伪静态规则

                发布日期:2017-10-18 作者:云优CMS 人气:5653

                安装包根目录下:.htaccess

                <IfModule mod_rewrite.c>

                Options +FollowSymlinks -Multiviews
                ErrorDocument 404 /404.htm
                RewriteEngine On

                RewriteCond %{REQUEST_FILENAME} !-d
                RewriteCond %{REQUEST_FILENAME} !-f

                RewriteRule ^(.*)\.(asp|aspx|asa|asax|dll|jsp|cgi|fcgi|pl)(.*)$ /404.htm
                RewriteRule ^admin/(.*).html$ index.php/admin/$1 [QSA,PT,L]
                RewriteRule ^admin/(.*)$ index.php/admin/$1 [QSA,PT,L]
                RewriteRule ^m/$ index.php/wap/index/index [QSA,PT,L]
                RewriteRule ^m/(.*)_(.*)/(.*)_(.*).html$ index.php/wap/show/index?etitle=$3&area=$1&cw=$4 [QSA,PT,L]
                RewriteRule ^m/(.*)_(.*)/(.*).html$ index.php/wap/show/index?etitle=$3&area=$1 [QSA,PT,L]
                RewriteRule ^m/search/$ index.php/wap/search/index [QSA,PT,L]
                RewriteRule ^m/(.*)_search/$ index.php/wap/search/index?area=$1 [QSA,PT,L]
                RewriteRule ^m/(.*)/(.*)_(.*).html$ index.php/wap/show/index?etitle=$2&cw=$3 [QSA,PT,L]
                RewriteRule ^m/(.*)_tag/(.*)$ index.php/wap/tag/index?title=$2&area=$1 [QSA,PT,L]
                RewriteRule ^m/tag/(.*)$ index.php/wap/tag/index?title=$1 [QSA,PT,L]
                RewriteRule ^m/(.*)/(.*).html$ index.php/wap/show/index?etitle=$2 [QSA,PT,L]
                RewriteRule ^m/(.*)_(.*)/$ index.php/wap/category/index?ctitle=$2&area=$1 [QSA,PT,L]
                RewriteRule ^m/(.*)/$ index.php/wap/category/index?ctitle=$1 [QSA,PT,L]
                RewriteRule ^m/(.*).html$ index.php/wap/index/index?area=$1 [QSA,PT,L]
                RewriteRule ^statics/ueditor/dialogs/(.*)/(.*).html$ statics/ueditor/dialogs/$1/$2.html [QSA,PT,L]
                RewriteRule ^index(.*)/$ index.php/index/index/index/$1 [QSA,PT,L]
                RewriteRule ^(.*)_(.*)/(.*)_(.*).html$ index.php/index/show/index?etitle=$3&area=$1&cw=$4 [QSA,PT,L]
                RewriteRule ^(.*)_(.*)/(.*).html$ index.php/index/show/index?etitle=$3&area=$1 [QSA,PT,L]
                RewriteRule ^search/$ index.php/index/search/index [QSA,PT,L]
                RewriteRule ^(.*)_search/$ index.php/index/search/index?area=$1 [QSA,PT,L]
                RewriteRule ^(.*)/(.*)_(.*).html$ index.php/index/show/index?etitle=$2&cw=$3 [QSA,PT,L]
                RewriteRule ^(.*)/(.*).html$ index.php/index/show/index?etitle=$2 [QSA,PT,L]
                RewriteRule ^(.*)_tag/(.*)$ index.php/index/tag/index?title=$2&area=$1 [QSA,PT,L]
                RewriteRule ^tag/(.*)$ index.php/index/tag/index?title=$1 [QSA,PT,L]
                RewriteRule ^(.*)_(.*)/$ index.php/index/category/index?ctitle=$2&area=$1 [QSA,PT,L]
                RewriteRule ^(.*)_(.*)/page/(.*)$ index.php/index/category/index?ctitle=$2&area=$1&page=$3 [QSA,PT,L]
                RewriteRule ^(.*)/$ index.php/index/category/index?ctitle=$1 [QSA,PT,L]
                RewriteRule ^(.*)/page/(.*)$ index.php/index/category/index?ctitle=$1&page=$2 [QSA,PT,L]
                RewriteRule ^(.*).html$ index.php/index/index/index?area=$1 [QSA,PT,L]
                </IfModule>

                相关新闻

                返回顶部

                拨打电话
                在线咨询