MediaLabz I tried to edit wp-config.php inline in the File Manager and the file opened as blank. The same happened with wp-config.php in other installs. But all other php files were fine. The wp-config.php files all show as having sizes (not empty files - 0kb) and the sites are working fine. Is this an expected behaviour?
Shaijee MediaLabz Try the following method; I have fixed the issue with Cloudflare for me. Also, whitelist all your IPs in the "IP Access Rules". (http.request.uri contains "/fs/")
twest prasad0889 I thought Cloudflare too, as I have the same issue, but I whitelisted the file manager and no change. All other files are fine, it's just config, so I think there's a block somewhere. Not modsec as I have that disabled as well.
Adam CloudFlare and LiteSpeed/OpenLiteSpeed block download of wp-config.php files. We are adding a feature shortly to encode the filenames so they don't get blocked.
cristianuibar Just encountered this today as well. The CF rule fixed the issue for me. Thank you @Shaijee !
Shaijee imreltd thanks from 2026, this solved my issue as well. You rock ferrokot wow it really works thank you! You're welcome!