Firewall Optimization with Siteground
-
Hi there. I’ve read the similar forum topics, also Optimizing The Firewall page, and Firewall Optimization Troubleshooting page, and tried to follow each step.
1. In my Siteground multi-sites hosting, I created a php.ini file into the /public_html. The php.ini content says :
auto_prepend_file = “/home/MYUSERNAME/public_html/MYWEBSITEDOMAINNAME/wordfence-waf.php”
zend_extension=/usr/local/php56/lib/php/extensions/ioncube.so
zend_extension=/usr/local/php56/lib/php/extensions/ZendGuardLoader.so2. the file wordfence-waf.php was added manually to MYWEBSITEDOMAINNAME/wordfence-waf.php
3. In the .htaccess file – for MYWEBSITEDOMAINNAME – I have added those lines :
SetEnv PHPRC /home/MYUSERNAME/public_html/MYWEBSITEDOMAINNAME/php.ini
<Files ~ “\.(ini)$”>
order allow,deny
deny from all
</Files>4. In WordPress CMS / Wordfence / Tools / Diagnostics / “Click to view your system’s configuration in a new window” , the auto_prepend_file returns a “no value”, such as the user_ini.filename = “no value”.
I hope this gives you enough details to be able to guide me on how to move from Wordfence “Firewall Basic WordPress Protection” enabled towards “Optimized”.
Thanks,
The page I need help with: [log in to see the link]
- The topic ‘Firewall Optimization with Siteground’ is closed to new replies.