软件WP站点备份到宝塔后,出现内容页打不开的解决方法

引流软件站的WP站点备份好到宝塔,出现内容页打不开,

是因为宝塔内的站点的伪静态处未设置。应该设置如下

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

或者使用宝塔自带的伪静态设置,即可解决。

© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码