• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

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

Community Expert ,
Nov 20, 2017 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?

Views

522

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
community guidelines

correct answers 1 Correct answer

Contributor , Nov 21, 2017 Nov 21, 2017

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

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

Votes

Translate

Translate
Adobe Employee ,
Nov 20, 2017 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

Votes

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
community guidelines
Contributor ,
Nov 21, 2017 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}

Votes

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
community guidelines
Community Expert ,
Nov 22, 2017 Nov 22, 2017

Copy link to clipboard

Copied

LATEST

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

Votes

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
community guidelines