Hello,咨询你一个问题,我看tipask的网址如果包含index.php不会自动重定向至没有index.php的网址。
比如,浏览器打开 https://wenda.tipask.com/index.php/question/10852 并没有重定向至 https://wenda.tipask.com/question/10852
试一下行不行
rewrite /index.php/question/(.*) /question/$1 permanent;
nginx配置中加入上面的rewrite规则看下。
如果觉得我的回答对您有用,请随意打赏。你的支持将鼓励我继续创作!