我希望该网站是 url 友好匹配,因此目录/adm(在我的情况下是管理面板)没有 url 友好
我的 .htaccess
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
</IfModule>
# For all files not found in the file system, reroute the request to the
# "index.php" front controller, keeping the query string intact
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L]
</IfModule>
我只是想这样做我正在学习这条规则意味着在外行命令中。htaccess