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

A way to redirect all http:// to https:// my muse website so that when it uploaded through muse or manually....

Participant ,
Jul 22, 2017 Jul 22, 2017

Copy link to clipboard

Copied

I made a website with muse and then uploaded to my host through Muse and I have manually uploaded with Filezilla to my host too.

After securing my website with an AutoSSL, which I'm currently using because it is provided by host through cPanel, or after purchasing an SSL from a third party and applying it, I wanted my site to always show https:// when people type in http or any other url for it.

Currently I forced redirected all http:// to https:// by editing the .htaccess file after uploading my website with muse to my host.

But, there is a foreseeable issue with this method:

When I make an update to my website after editing it in Muse, I believe it is going to overwrite the .htaccess file that I made changes to, which will make me have to go in and manually edit the file again.

Q1. Is there a way to edit the .htaccess file in muse so that it automatically has that code in it to force 301 redirect all http:// to https:// so that I don't have manually edit the .htaccess file everytime I make updates to my or someone's website using muse?

Q2. Is there some way to make muse write the code or do something to force 301 redirect all urls to the main url that I want all visitors to end up at, see?

Views

3.4K

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

Guide , Jul 22, 2017 Jul 22, 2017

Muse does not overwrite the htaccess file, only adds its entries to it between special comments. So, you can safely use your code.

Votes

Translate

Translate
Guide ,
Jul 22, 2017 Jul 22, 2017

Copy link to clipboard

Copied

Muse does not overwrite the htaccess file, only adds its entries to it between special comments. So, you can safely use your code.

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 ,
Jul 26, 2017 Jul 26, 2017

Copy link to clipboard

Copied

Thank you Pavel. So, if I understand correctly. After uploading my site to my cPanel, I can go to the .htaccess file and add the code to redirect all http:// to https:// and the code that is written in the .htaccess file will not be changed no matter how many times I make edits to my website and upload using muse directly to my ftp host or if I manually upload it by saving the html file from muse and uploading it through Filezilla. Is that correct?

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
Guide ,
Jul 26, 2017 Jul 26, 2017

Copy link to clipboard

Copied

If you use the export method in html and then FileZilla, then the question for you should not have existed from the beginning. You have full control in this case...

I do not recommend using this method for two reasons.

1) You will not be able to edit your website in browser. (IBE)

2) You have to manually enter the code in htaccess, in the event that you will use alt layouts or linked text.

Use the Muse's internal FTP client. After the first upload to the hosting, add your code to the htaccess file and this file will not be overwritten anymore. There is no need to use FileZilla.

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
New Here ,
Dec 28, 2018 Dec 28, 2018

Copy link to clipboard

Copied

Pavel I am getting stuck on my SSL.

I also did the forced redirected all http:// to https:// by editing the .htaccess file.

My site is secure if you type in www.aavsales.com/index.html

but is not secure if you just type in www.aavsales.com or aavsales.com

Any suggestions how I fix this?

Thanks for your time.

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 ,
Dec 28, 2018 Dec 28, 2018

Copy link to clipboard

Copied

It looks secure to me.  

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
New Here ,
Jan 15, 2019 Jan 15, 2019

Copy link to clipboard

Copied

LATEST

Thank you

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