typecho 博客 Aapche rewrite功能配置

哈根达斯
2022-01-20 / 0 评论 / 163 阅读 / 正在检测是否收录...

apache 配置rewrite

需要apache启用mod_rewrite,在网站根目录下新建.htaccess文件

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

登录后台配置如下功能
kyn298ms.png

0

评论 (0)

取消