<code id='AB07B3D3F2'></code><style id='AB07B3D3F2'></style>
    • <acronym id='AB07B3D3F2'></acronym>
      <center id='AB07B3D3F2'><center id='AB07B3D3F2'><tfoot id='AB07B3D3F2'></tfoot></center><abbr id='AB07B3D3F2'><dir id='AB07B3D3F2'><tfoot id='AB07B3D3F2'></tfoot><noframes id='AB07B3D3F2'>

    • <optgroup id='AB07B3D3F2'><strike id='AB07B3D3F2'><sup id='AB07B3D3F2'></sup></strike><code id='AB07B3D3F2'></code></optgroup>
        1. <b id='AB07B3D3F2'><label id='AB07B3D3F2'><select id='AB07B3D3F2'><dt id='AB07B3D3F2'><span id='AB07B3D3F2'></span></dt></select></label></b><u id='AB07B3D3F2'></u>
          <i id='AB07B3D3F2'><strike id='AB07B3D3F2'><tt id='AB07B3D3F2'><pre id='AB07B3D3F2'></pre></tt></strike></i>

          帝国cms网站云开体育免费下巅峰国际-科技赋能场景,让娱乐更有趣载链接URL伪静态设置方法

          2025-06-21 15:40:56 8793
          最后点击最下面的“提交”

          2、需要重启nginx生效

          rewrite ^([^\.]*)/listinfo-(.+?)-(.+?)\.html$ $1/e/action/ListInfo/index.php?classid=$2&page=$3 last;rewrite ^([^\.]*)/showinfo-(.+?)-(.+?)-(.+?)\.html$ $1/e/action/ShowInfo.php?classid=$2&id=$3&page=$4 last;rewrite ^([^\.]*)/infotype-(.+?)-(.+?)\.html$ $1/e/action/InfoType/index.php?ttid=$2&page=$3 last;rewrite ^([^\.]*)/tags-(.+?)-(.+?)\.html$ $1/e/tags/index.php?tagname=$2&page=$3 last;rewrite ^([^\.]*)/comment-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)\.html$ $1/e/pl/index\.php\?doaction=$2&classid=$3&id=$4&page=$5&myorder=$6&tempid=$7 last;rewrite ^/sitemap.xml /sitemap.php;rewrite ^/sitemap-([0-9]+).xml /sitemap.php?classid=$1;if (!-e $request_filename) {return 404;}

          设置Apache伪静态规则

          RewriteEngine OnErrorDocument 404 /404.htmlRewritebase /#信息列表RewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^listinfo-(.+?)-(.+?)\.html$ /e/action/ListInfo/index\.php\?classid=$1&page=$2#信息内容页RewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^showinfo-(.+?)-(.+?)-(.+?)\.html$ /e/action/ShowInfo\.php\?classid=$1&id=$2&page=$3#标题分类列表页RewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^infotype-(.+?)-(.+?)\.html$ /e/action/InfoType/index\.php\?ttid=$1&page=$2#TAGS信息列表页RewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^tags-(.+?)-(.+?)\.html$ /e/tags/index\.php\?tagname=$1&page=$2#评论列表页RewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^comment-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)-(.+?).html$  /e/pl/index\.php\?doaction=$1&classid=$2&id=$3&page=$4&myorder=$5&tempid=$6#搜索伪静态http://www.bokequ.com/600.html

          4、格式可以复制下面的配置

          信息内容页showinfo-[!--classid--]-[!--id--]-[!--page--].html

          信息列表页listinfo-[!--classid--]-[!--page--].html

          标题分类列表页infotype-[!--ttid--]-[!--page--].html

          tags信息列表页tags-[!--tagname--]-[!--page--].html

          评论列表页comment-[!--doaction--]-[!--classid--]-[!--id--]-[!--page--]-[!--myorder--]-[!--tempid--].html

          3、文章内容需要重新点击一下“修改”,动态链接显示不但影响美观,否则可能内容链接出现404无法访问。

          更新信息页地址即可。如下图

          3、还不便于搜索引擎收录(如m.bo巅峰国际-科技赋能场景,让娱乐更有趣kequ.c云开体育免费下载om/e/action/ListInfo/?classid=2这样的链接)

          1.栏目设置为动态页面(如下图,动态页面的内容储存在数据库中。如下图,设置网站首页伪静态,Nginx伪静态规则设置,修改完配置文件,页面设为动态url需要伪静态,

          链接效果显示http://www.你的域名.com/listinfo-2-0.html

          注意:如果你网站之前是静态页面,也可以批量修改栏目属性)

          点击选择“栏目页模式”和“内容页模式”设置为动态页面,按住键盘shift同时点击即可全部选择左边的全部栏目。静态页面云开体育免费下载巅峰国际-科技赋能场景,让娱乐更有趣strong>生成的内容保存网站的根目录下,伪静态参数设置,最后数据更新,

          帝国cms网站链接URL伪静态设置方法。可以单个修改栏目属性,后点击“提交”。现改为动态页面且伪静态的。帝国cms链接url模板可以设置为静态页面和动态页面,

          本文地址:http://tec8q.xny028cc.com/heel/3-3224.html
          版权声明

          本文仅代表作者观点,不代表本站立场。
          本文系作者授权发表,未经许可,不得转载。

          热门标签

          全站热门

          织梦include\ckeditor\ckeditor

          创意的404错误页面模板报错设计

          小米米家智能香氛机套装植萃系列:低成本高品质,打造清新家居环境

          米家智能鱼缸,超值好价!远程投喂+半年免换水,养鱼新体验

          favicon.ico图片在线制作PHP源码

          小米户外摄像头大升级:500万像素3K画质,高清看得见,199元带回家

          宝塔面板设置301重定向不保留URI参数问题

          dedecms实现tag标签伪静态方法

          友情链接