如何设置tag的伪静态url
发表于 : 2023年 3月 4日 20:35
请问如何设置tag的伪静态url
我想把https://www.test.com/tag/template/
改成 https://www.test.com/tag/template.html
这种链接
我想把https://www.test.com/tag/template/
改成 https://www.test.com/tag/template.html
这种链接
感谢大佬回复,是否可以更详细点,技术有限不知道咋改。Lopwon 写了: ↑2023年 3月 4日 22:11 修改文件 var/Widget/Options/Permalink.php 按照分类项的方式新增标签项,共要新增三处:
1. 新增标签检查必要参数。
2.新增标签输出表单结构。
3.新增标签解析url pattern
演示:http://snapic.cn/demo/t/index.php/tag/tag-A.html