检查2个地方:
1、 .htaccess
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
2、vhost.conf
location / {
try_files $uri $uri/ /index.php?$query_string;
}
检查2个地方:
1、 .htaccess
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
2、vhost.conf
location / {
try_files $uri $uri/ /index.php?$query_string;
}
转载于:https://my.oschina.net/sunYwp/blog/1543616