我在无脂肪框架中重写了我的旧应用程序。使用此应用程序的每个人都有书签http://www.domain/app/index.php这个网址现在在F3中不起作用。我可以将index.php重定向到http://www.domain/app/吗?谢谢。
您可以在framework level定义重定向:
index.php
$f3->redirect('GET /index.php','/');
[redirects] GET /index.php = /