这是hostloc社区上的圈圈教的方法,还有就是参考了其他博客的方法,这里做个记录。 WordPress server.error-handler-404 = “/index.php?error=404” 连着url.rewrite = ( )一起替换掉 TypeCho url.rewrite-if-not-file = (“^/(.*).htm$” => “/index.php/$…
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]