PbootCMS伪静态怎么设置?(PbootCMS模板安装后内页打开404错误的解决方法)

去后台配置参数-URL规则下选择伪静态模式,保存。

image

<IfModule mod_rewrite.c>
  Options +FollowSymlinks  RewriteEngine On  
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  
  RewriteRule ^(.*)$ index.php?p=$1 [QSA,PT,L]

</IfModule>

 

posted @ 2026-03-17 11:43  可有仙子迎风立  阅读(1)  评论(0)    收藏  举报