Highlighted

Host Company Says Code Needed for Lock to Appear on SSL Site

Participant ,
Nov 20, 2017

Copy link to clipboard

Copied

Sorry to start a new thread on this, but the existing ones are similar but don't fit.

I have several Muse sites hosted elsewhere (not BC) and have purchased an SSL certificate. The sites (both primary domain and sub-domains) test as secure. If I type in https and the site URL, the padlock appears. But if I just type http the padlock does not appear. My hosting company says that I need to add a few lines of code to each of the Muse sites.

Is my hosting company correct, and if so what are those lines or code or where do I find them?

In case you can edit your .htaccess file, add following code:

RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Views

411

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Host Company Says Code Needed for Lock to Appear on SSL Site

Participant ,
Nov 20, 2017

Copy link to clipboard

Copied

Sorry to start a new thread on this, but the existing ones are similar but don't fit.

I have several Muse sites hosted elsewhere (not BC) and have purchased an SSL certificate. The sites (both primary domain and sub-domains) test as secure. If I type in https and the site URL, the padlock appears. But if I just type http the padlock does not appear. My hosting company says that I need to add a few lines of code to each of the Muse sites.

Is my hosting company correct, and if so what are those lines or code or where do I find them?

In case you can edit your .htaccess file, add following code:

RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Views

412

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 20, 2017 0
Adobe Employee ,
Nov 20, 2017

Copy link to clipboard

Copied

Hi homeboy4

The padlock icon will only display when you are hitting a site URL that has https. In case of a site URL with http, the padlock icon will not appear.

You may check with your hosting provider if they can redirect http to https so that a user is presented with the padlock icon.

Usually, hosting providers do give this facility to redirect http to https.

This article might help you :

https://in.godaddy.com/help/redirect-http-to-https-automatically-8828

Thanks and Regards

Ayush Rathi

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 20, 2017 1
Contributor ,
Nov 21, 2017

Copy link to clipboard

Copied

In case you can edit your .htaccess file, add following code:

RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 21, 2017 1
homeboy4 LATEST
Participant ,
Nov 22, 2017

Copy link to clipboard

Copied

Not having an easy time of it with the hosting service. I am using shared hosting through Arvixe.

Where is the .htaccess file?

The tech at Arvixe seemed to think this code (or some code) needed to be inside each website (through the HTML window, I guess). I assume he's wrong, but I need more info to be able to tell him what he needs to do.

Note: Muse was designed, in part, for designers who have no knowledge of code. I'm one of those persons. LOL

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 22, 2017 0