请问如何设置tag的伪静态url
我想把https://www.test.com/tag/template/
改成 https://www.test.com/tag/template.html
这种链接
如何设置tag的伪静态url
-
- 帖子: 131
- 注册时间: 2016年 11月 14日 11:19
- 来自: www.lopwon.com
- 联系:
Re: 如何设置tag的伪静态url
修改文件 var/Widget/Options/Permalink.php 按照分类项的方式新增标签项,共要新增三处:
1. 新增标签检查必要参数。
2.新增标签输出表单结构。
3.新增标签解析url pattern
演示:http://snapic.cn/demo/t/index.php/tag/tag-A.html
1. 新增标签检查必要参数。
2.新增标签输出表单结构。
3.新增标签解析url pattern
演示:http://snapic.cn/demo/t/index.php/tag/tag-A.html
Re: 如何设置tag的伪静态url
感谢大佬回复,是否可以更详细点,技术有限不知道咋改。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
-
- 帖子: 131
- 注册时间: 2016年 11月 14日 11:19
- 来自: www.lopwon.com
- 联系:
Re: 如何设置tag的伪静态url
压缩包内是 Typecho 1.2 的文件,Typecho 1.1 的新增类似,可参考 Typecho 1.2 的文件。
--
--