求xiuno伪静态设置规则

咳

实在不懂啊,搜索好多帖子就是搞不好,求教,ngnix

问题比较着急?请联系QQ:760483
  • 三三@xp.cn
  • 三三@xp.cn    2020-05-04 18:04:013楼

    location ~* \.(htm)$ {

    rewrite "^(.*)/(.+?).htm(.*?)$" $1/index.php?$2.htm$3 last;

    }

    伪静态规则

    +添加回复

  • 回复

    然而并没有用,我在网站——伪静态——nginx处复制粘贴了,打开了url-rewrite-on=1.完美错过伪静态

      作者 · 2020-05-05 11:18:02
    回复
  • 三三@xp.cn
  • 三三@xp.cn    2020-05-04 16:37:101楼

    在官方找到:location ~* \.(htm)$ {rewrite "^(.*)/(.+?).htm(.*?)$" $1/index.php?$2.htm$3 last;

    }

    +添加回复

  • 回复

    什么意思,看不懂啊

      作者 · 2020-05-04 17:31:49
    回复