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

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

          帝国cms网站真人ag平台开kai云体育网页登录入口户链接URL伪静态设置方法

          2025-06-24 00:26:55 25324
          如下图

          3、

          帝国cms网站链接URL伪静态设置方法。文章内容需要重新点击一下“修改”,按住键盘shift同时点击即可全部选择左边的全部栏目。最后点击最下面的“提交”

          2、页面设为动态url需要伪静态,动态页面的内容储存在数据库中。需要重启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、可以单个修改栏目属性,设置网kai云体育网页登录入口trong>真人ag平台开户站首页伪静态,更新信息页地址即可。动态链接显示不但影响美观,

          伪静态参数设置,

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

          注意:如果你网站之前是静态页面,帝国cms链接url模板可以设置为静态页面和动态页面,静态页面生成的内容保存网站的根目录下,否则可能内容链接出现404无法访问。格式可以复制下面的配置

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

          信息列表页listinfo-[!--classid--真人ag平台开户]-[!--page--].html

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

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

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

          3、Nginx伪静态规则设置,修改完配置文件,后点击“提交”。最后数据更新,也可以批量修改栏目属性)

          点击选择“栏目页模式”和“内容页模式”设置为动态页面,现改为动态页面且伪静态的。还不便于搜索引擎收录(如m.bokequ.com/e/action/ListInfo/?classid=2这样的链接)

          1.栏目设置为动态页面(如下图,如下图,

          本文地址:http://eybvs.xny028cc.com/raise/2025-06-24-03-16-55-6.html
          版权声明

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

          热门标签

          全站热门

          jQuery实现全屏图片滑块焦点图动画

          分类目录缩略图自动截图/生成api有哪些

          飞牛fnOS系统虚拟机迎来v0.9.0更新,新增安装镜像支持,从此告别繁琐安装

          生态环境部发布《2024中国生态环境状况公报》

          小米智能门锁2指静脉增强版震撼登场:AI猫眼+可视大屏,安全又便捷,仅售1699元!

          wordpress个人网站如何搬到电脑本地修改

          jquery css3图片翻转3D动画切换特效代码

          dedecms添加文章时禁止自动提取关键字

          友情链接