1. 首页>>cms系统>>迅睿CMS

设置了tag伪静态,url地址还是参数拼接的动态地址怎么办?

  怎么设置:

  1、应用--》关键词库--》插件设置--》内页seo

  2、内容页地址:tag/{tag}.html

  3、内容页分页地址:tag/{tag}-{page}.html

  4、以下代码已添加到config/rewrite.php文件中

  "tag/(.+)-([0-9]+).html" => "index.php?s=tag&name=$1&page=$2", // tag插件分页
  "tag/(.+).html" => "index.php?s=tag&name=$1", // tag插件

  5、回到词库管理,一件更新词库


转载联系作者并注明出处:https://www.focusonseo.cn/xunruicms/148.html