我们可以利用apache的mod_rewrite去掉这个index.php,或者你的服务器支持其他方式的URL rewrite也可以
首页进后台
CP Home › Admin › System Preferences › General Configuration(控制面板 › 管理 › 系统属性 › 常规配置)
把Name of your site's index page选项里的index.php删除留空
然后在根目录下建立一个.htaccess
内容如下
代码:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
如果你的程序不在根目录下,在上面加一行
RewriteBase /ee
指定你的EE的路径








用URL rewrite去掉EE URL中的index.php
















平板模式