我的网址链接看起来像:
http://localhost/CodeIgniter_2.1.2/index.php/pages/home
然后我使用谷歌编写了 .htaccess 文件,如下所示:
RewriteEngine on
RewriteCond $1 !^(index\.php|themes|images|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
现在我的链接看起来像:
http://localhost/CodeIgniter_2.1.2/pages/home
现在,我想pages
从此链接中删除。谁能帮我解决这个问题?
因此,我的网址可能如下所示:
http://localhost/CodeIgniter_2.1.2/home