ciogao 发表于 2012-2-18 12:17:51

.htaccess中
RewriteEngine on
RewriteCond $1 !^(index\.php)
RewriteRule ^(.*)$ index.php/$1


config.php 中
$config['index_page'] = "";

$config['url_suffix'] = ".html";

以上,完美处理。
页: 1 [2]
查看完整版本: 请问如何去掉URL中的index.php,增加html后缀啊