301 redirect for site from http to https not working

My website has multiple sub-directories. The primary directory and all sub-directories are all part of the domain. By way of the htaccess editor, only certain directories and the files contained within those directories are available for public consumption without credentials (username and passwords required). All worked fine until my Web-host installed my EV SSL. After some tech support tickets they initiated a 301 re-direct. That re-direct worked but only sometimes and only with certain browsers – primarily only when using Chrome. The 301 redirect they were using was…
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

The 301 re-direct they are using now is…
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
rewriterule ^(.)$ https://www.somedomain.com/$1 [R=301,NC]
…Whereby the somedomain is representative of my domain. Initially the RewriteCond was set to RewriteCond %{HTTPS} on and the RewriteRule was set to RewriteRule (.
) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] but that caused the images at the site to not display. However, the green security icon was present. But only with Chrome. Very frustrating.

Can anyone provide me proper Rewrite codes that will allow the entire domain across all directories – all files – to display the green security icon and the images? The only thing that has changed is the addition of the EV SSL; the site structure has not changed. (All files – html, css, script, call the https protocol when and as a resource is called if it is needed anywhere on the server where the domain is hosted which is the same as the registrar).

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.