Firewall configuration after site migrated?
-
Hi, a month ago I moved my site to a new web hotel by downloading and uploading everything with FTP, including Wordfence. Should I have installed a fresh version instead, thru WP admin: add new plugin…?
1: I ask because I have had the Firewall in learning mode for weeks now and it is stuck on 35 %. When I today am trying to optimize it and choose the right server configuration, it still suggests I do have the same server type as on the older web hotel, LiteSpeed/Isapi. And the new web hotel does not have the same. I am told by them to choose NGINX or Apache CGI.
I choose Apache CGI and waited, but when I later look again, it still suggests LiteSpeed in optimization. But in the htaccess-file I can see that the LiteSpeed code is removed, only INI remain.
Could plugin settings be confused by my ftp web hotel migration?
Or is it just that Apache CGI was a bad choise? Should I try some other Apache alternative or NGINX?
2: Also, when I download the htaccess-file before choosing server config, I can see that the file has been altered by my previous web hotel, they have added their own code in the file to prevent brute force attack against wp-login.php<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_METHOD} POST RewriteCond %{HTTP_COOKIE} !^.*wordpress_test_cookie.*$ [NC] RewriteRule wp-login.php - [F,L] </IfModule>
But that can′t be right, Wordfence does that already, right? (I do have brute force protection enabled) Should I delete the htacces-file, will that force it to be created again automatically without the additional code?
Or should I delete whole plugin and start over again??As far as I can see the rest is working. I think…
- The topic ‘Firewall configuration after site migrated?’ is closed to new replies.