宝塔的话直接在网站的伪静态一栏中如下就行

location /admin {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}

location / {
try_files $uri $uri/ /index.php;
}

相关文章:

  • 2022-12-23
  • 2021-06-29
  • 2021-08-13
  • 2022-12-23
  • 2021-09-10
  • 2021-07-17
  • 2022-12-23
猜你喜欢
  • 2021-09-05
  • 2022-12-23
  • 2022-02-19
  • 2022-12-23
  • 2021-10-08
  • 2021-09-10
  • 2021-08-12
相关资源
相似解决方案