Keeping Your Site Updated. 2. Using Secure Admin Login Credentials. 3. Enabling Two-Factor Authentication. 4. Disabling PHP Error Reporting. 5. Changing PHP Settings Using the Control Panel.