设置伪静态

Linux Nginx 环境
打开宝塔——网站伪静态——typecho2,改为如下:

if (!-e $request_filename) {
    rewrite ^(.*)$ /index.php$1 last;
}

链接:https://www.jianshu.com/p/7968d1405836

仅有 1 条评论
  1. Typecho

    欢迎加入 Typecho 大家族

    Typecho 回复
发表新评论