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

Muse and redirects with HTTPS

Explorer ,
Oct 03, 2018 Oct 03, 2018

Copy link to clipboard

Copied

Hi all,

Hopefully someone can help me out with an issue I've been having since we implemented a SSL certificate.

The first issue I have is that the site is a responsive one - I have desktop and phone versions. Muse creates a redirect in the header that checks the user's screen size and redirects to the phone version if the width is below 370px. The problem is that Muse puts the link in to the redirect as http://www.mysite.com/phone/index.html instead of https://

See below:

<link media="only screen and (max-width: 370px)" rel="alternate" href="http://www.mysite.com/phone/index.html"/>
<title>Home</title>
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="css/site_global.css?crc=4012751225"/>
<link rel="stylesheet" type="text/css" href="css/master_home-master.css?crc=182687849"/>
<link rel="stylesheet" type="text/css" href="css/index.css?crc=3797285153" id="pagesheet"/>

How can I get Muse to create the redirect to a HTTPS address instead ?

I've tried adding a redirect script into the htaccess file manually and uploading it, but this just creates an error code in Chrome, Firefox and Safari and won't load the site at all.

Views

5.5K

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

Community Beginner , Oct 08, 2018 Oct 08, 2018

I was dealing with this same thing. I was able to get the desktop version to redirect without any issues with adjusting the htaccess file. I did not see any settings within Muse to update the phone version. Since the /phone folder is off of the root domain which is HTTPS, it should have worked. I was playing around with a ton of different configurations. Finally it works on mobile now. Here is the current htaccess info:

#Options +FollowSymLinks

RewriteEngine on

RewriteCond %{HTTP_HOST} !^www\.

Rewr

...

Votes

Translate

Translate
Community Beginner ,
Oct 08, 2018 Oct 08, 2018

Copy link to clipboard

Copied

I was dealing with this same thing. I was able to get the desktop version to redirect without any issues with adjusting the htaccess file. I did not see any settings within Muse to update the phone version. Since the /phone folder is off of the root domain which is HTTPS, it should have worked. I was playing around with a ton of different configurations. Finally it works on mobile now. Here is the current htaccess info:

#Options +FollowSymLinks

RewriteEngine on

RewriteCond %{HTTP_HOST} !^www\.

RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

# Begin Muse Generated redirects

# End Muse Generated redirects

Not sure if you have this setup, or if it will help. I just spent the better part of a few hours digging through stuff online.

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
Explorer ,
Dec 08, 2018 Dec 08, 2018

Copy link to clipboard

Copied

Thank you! I've tried every redirect code I can find from the Adobe and the GoDaddy forums and nothing has worked... until now. This code is FINALLY a code that works. Thanks!

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
Participant ,
Apr 14, 2019 Apr 14, 2019

Copy link to clipboard

Copied

Guys I don't write code so I am feeling my way around here.  I have paid GoDaddy for SSL certificate  and now they want me  to pay again to install it.  Ouch! What BS.
Id like to use this code on my Muse website if you say it works

#Options +FollowSymLinks

RewriteEngine on

RewriteCond %{HTTP_HOST} !^www\.

RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

# Begin Muse Generated redirects

# End Muse Generated redirects

But again, not being a code writer, where do I enter this code?  Can this be pasted into a  page?
Appreciate the help
Thanks George

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 ,
Apr 14, 2019 Apr 14, 2019

Copy link to clipboard

Copied

SSL certificates have nothing to do with Muse.  This all happens on the server not in Muse pages.

I purchase my SSL/TLS certificates from Namecheap.com.  They have an excellent knowledge base on how to generate a CSR code with various server types and activate  certificates on the server through your hosts c-Panel or Plesk panel, etc.....  Once you've done it a few times, it's not difficult.

https://www.namecheap.com/support/knowledgebase/category.aspx/14/ssl-certificates

After the certificate is installed, you will want to redirect all HTTP server requests to secure HTTPS.  On Linux hosting plans, you edit a plain text file on the server called .htaccess.  You must use a plain text or code editor like Notepad.   Muse cannot do this.

It sounds as if you're willing to pay,  GoDaddy can do all the heavy lifting for you.   It might be worth the time and money to get it done right.

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

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
Participant ,
Apr 14, 2019 Apr 14, 2019

Copy link to clipboard

Copied

LATEST

Nancy Oshea I  didn't come her  looking for the easy way out I wanted to know how  to fix it, and I managed to do that.
Here is the answer
https://www.godaddy.com/help/redirect-my-cpanel-website-to-https-27870

Redirect my cPanel website to HTTPS | Linux Hosting (cPanel) - GoDaddy Help US

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