wp-admin redirect loop with ssl

you’d be better not using a plugin and editing the .htaccess file (in root of website) something like this at the top:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^somesite.com [NC]
RewriteRule ^(.*)$ https://www.somesite.com/$1 [L,R=301]

so your .htaccess file might look something like this:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^somesite.com [NC]
RewriteRule ^(.*)$ https://www.somesite.com/$1 [L,R=301]

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

and remember to set WordPress Address (URL) and Site Address (URL) in WordPress admin (settings -> general), so that they are on https not http