• Resolved Dale Rogers

    (@dalerrogers)


    I have about a dozen WordPress sites on Bluehost. Several days ago, I received a message from a client indicating his site was down. After investigating, I discovered all my WP sites were down. Bluehost said they were migrating the server. After a number of frustrating chats with support, for several days, if turns out the site was migrated but there was a problem with the wordfence-waf.php file.

    I read another post about disabling the firewall prior to migration. The migration was out of my control. What is the best setting to prevent a site from going down after a site is migrated outside of my control. Or if it does, how do I correct it quickly?

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @dalerrogers, thanks for reaching out to us.

    Disabling the firewall optimization before migration is just an ideal-world scenario when you’re planning to do it smoothly yourself but not an unrecoverable situation.

    If the wordfence-waf.php file has been removed by your host in an attempt to mitigate issues with in-use files, your best approach would probably be exporting any Wordfence settings you don’t wish to lose and re-installing the plugin from scratch. There are instructions here: https://www.wordfence.com/help/advanced/remove-or-reset/#migrate-with-wordfence

    If your site is still functional but the optimization is broken, you should be able to just follow the optimization wizard again on the Wordfence > Firewall page. You may need to remove the auto_prepend_file lines from your .htaccess/.user.ini file first so that Wordfence can start the process like it would on a new installation. There are instructions and further information around optimizing and manually removing an optimization here: https://www.wordfence.com/help/firewall/optimizing-the-firewall/

    Thanks,

    Peter.

Viewing 1 replies (of 1 total)
  • The topic ‘Best practices for firewall’ is closed to new replies.