Typecho Apache 伪静态规则

Typecho Apache 伪静态规则

Tod
Tod
2023-08-19 / 0 评论 / 4 阅读 / 正在检测是否收录...

  在根目录.htaccess文件添加

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
1

评论 (0)

取消