Typecho:伪静态.htaccess规则
如题,typecho伪静态.htaccess规则,备用。
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
http跳转https的.htaccess规则
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://0wu.org/$1 [R=301,L]
</IfModule>
阅读剩余
版权声明:
作者:maofun
链接:https://maofun.com/1040.html
文章版权归作者所有,未经允许请勿转载。
THE END