typecho博客永久链接设置
1、启用地址重写功能
2、自定义文章路径→个性化定义 →/t/{cid}.html
3、配置伪静态
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php$1 last;
}
显示结果为:域名/t/1.html
1、启用地址重写功能
2、自定义文章路径→个性化定义 →/t/{cid}.html
3、配置伪静态
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php$1 last;
}
显示结果为:域名/t/1.html
评论已关闭