您好,我正在尝试使我的网址尽可能用户友好......到目前为止,我已经设法删除了 index.php(使用 .htaccess)并且我已经设置$route['default_controller'] = "myController";
,所以我的主页的网址看起来很不错localhost/myController
但是所有其他网址都具有结构localhost/myRoot/myController/function
有没有办法让我的网址更加用户友好?
编辑:我希望我的结构是这样的:localhost/myController/myFunction
我的文件结构是这样的:
xampp
htdocs
myRoot
application
controllers
myController.php