方法三:修改项目根目录的伪静态文件 .htaccess
打开.htaccess 在RewriteRule 后面的index.php后面添加一个“?”
0 1 2 3 4 | RewriteEngine on RewriteCond $1 !^(index.php|images|robots.txt) RewriteRule ^(.*)$ /index.php?/$1 [L] |
——————————–
产品更新、运营公告与行业观察
一手消息,第一时间同步给你
方法三:修改项目根目录的伪静态文件 .htaccess
打开.htaccess 在RewriteRule 后面的index.php后面添加一个“?”
0 1 2 3 4 | RewriteEngine on RewriteCond $1 !^(index.php|images|robots.txt) RewriteRule ^(.*)$ /index.php?/$1 [L] |
——————————–