admin avatar

litespeed下typecho伪静态规则

🕞 by admin

litespeed下typecho伪静态规则~~~

openlitespeed也是兼容的~~~

其实litespeed跟apache时兼容的

把下面代码写入网站根目录下的.htaccess文件

规则如下

1
2
3
4
5
6
7
8
9
10
11
12
13
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/x-httpd-php application/x-javascript

💘 相关文章

写一条评论