config file configuration is like this
"URL_HTML_SUFFIX"=>"html",
"URL_CASE_INSENSITIVE" => true,
"URL_MODEL" => 2,
"URL_ROUTER_ON" =>true,
.htaccess file configuration is like this
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
RewriteCond %{HTTP_HOST} ^xxx.cn [NC]
RewriteRule ^(.*)$ http://www.xxx.cn/$1 [L,R=301]
</IfModule>
< hr >
the problem is this:
at present, through xxx.cn, you can jump to other non-home page links in www.xxx.cn,. After redirecting, index.php, will increase. It has been tested that index.php can be accessed normally without this index.php. It is hidden, but
for non-home page links such as xxx.cn/home/test/test/, the jump will become www.xxx.cn/index.php/home/test/test/
Why there is more index.php?. How to get rid of this index.php?