Hunter的大杂烩 技术学习笔记

2018-06-01

wordpress apache 2.4 下正确静态化语法

Filed under: 技术话题 — hunter @ 12:22 pm

要增加%{DOCUMENT_ROOT}

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^index.php$ – [L]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
LogLevel trace5
</IfModule>

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress