6
我发现这些重写规则,在我的WordPress网站的.htaccess:说明在WordPress的重写规则
RewriteEngine On
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
我知道,这基本上是指一切的index.php。但它是如何工作的?什么规则做什么?
我有同样的问题(http://stackoverflow.com/q/35303598/2983568),并在这里发现了详细的解释:http://glennmessersmith.com/pages/wphtaccess.html – supafly 2016-02-10 08:04:03