Getting ERR_TOO_MANY_REDIRECTS error while trying to access wp-login.php and wp-admin after installing defender plugin.
Only occurs over the main site which has the security certificate installed. Were running a multisite and do not have a wildcard SSL installed at this point just a standard SSL on https://www.sitewyse.net
Tried deactivating the plugin but the issue has continued.
Can login to the site using http://www.sitewyse.net/pro-site which opens up an alternative login page.
Have checked the wp-config and site url in the database is set as https://www.sitewyse.net
Have disabled..
// define('FORCE_SSL_ADMIN', true);
in WP-CONFIG
Have cleared cookies and the same problem persists
Can login to sub sites using the http non ssl subdomains.
Using LE Lets Encrypt SSL
.htaccess file..
# Allow LE access to .well-known directory
RewriteRule ^.well-known/(.*)$ - [L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
</IfModule>
# END WordPress
## WP Defender - Prevent information disclosure ##
Options -Indexes
<FilesMatch "\.(txt|md|exe|sh|bak|inc|pot|po|mo|log|sql)$">
Order allow,deny
Deny from all
</FilesMatch>
## WP Defender - End ##
Have tried removing defender entries on .htaccess.. doesn't make any difference.
Any suggestions help appreciated..