且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何为我的所有路由添加前缀

更新时间:2023-12-01 10:53:28

我找到了一个很好的资源页面,可以满足您的需求:
http://particul.es/blog/index.php?post/How-to-change-backend.php-to-admin-prefix-routes-automatically-symfony
提供多种解决方案来实现您的目标.但是,就个人而言,我认为对您来说最明智的方法是在 .htaccess 中处理此问题.

I have found a great ressource page for your needs:
http://particul.es/blog/index.php?post/How-to-change-backend.php-to-admin-prefix-routes-automatically-symfony
With many solutions to achieve your goals. But, personnaly, I think that the smartest way for you is to handle this in .htaccess.