我使用过WordPress 4.7.4,每两天后wp-include / post.php文件权限变为0,两个屏幕都是白色。
Please check this image 请帮帮我。
答案 0 :(得分:0)
以下是处理文件权限时需要遵循的一些建议。
通过命令行
更改文件权限对于文件夹,
find /path/to/your/wordpress/install/ -type d -exec chmod 755 {} \;
对于文件,
find /path/to/your/wordpress/install/ -type f -exec chmod 644 {} \;
通过编辑.htaccess文件拒绝所有用户模式的访问,
<files wp-config.php>
order allow,deny
deny from all
</files>
检查影响文件的所有服务器属性,还检查服务器的错误和调试日志。