Highlighted

Change my website traffic from http to https (hosting by Little Oaks)

New Here ,
Oct 15, 2018

Copy link to clipboard

Copied

I redirected my website from http to https, since I got a security certificate; however, it didn't work.

I'm running my website hosted by a third-party (called Little Oaks) and redirected my website from http to https within their website, but it just made two different websites; one starting with http and another starting with https.

They told me that the code in the .htaccess is correct regarding syntax, etc but it could be just being overridden by preferences within the design software, because it also has happened to other customers who're running their websites with Wordpress.

Is there any way that I can stop Muse to overwrite within the Muse software?

Or any general suggestion to solve this problem?

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

Make a backup copy of your current file by Saving As old_.htaccess

On a Linux/Apache server, I would use this .htaccess code.  Change yourdomain.com to your actual domain name.  

## Rewrite www to non-www and http to https ##

RewriteEngine On

RewriteCond %{HTTP_HOST} ^www.yourdomain.com$

RewriteRule ^/?(.*)$ https://yourdomain.com/$1 [R,L]

RewriteEngine On

RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ https://yourdomain.com/$1 [R,L]

Upload to your server's root directory.

Clear your browser's cache and test it.

Views

761

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

Change my website traffic from http to https (hosting by Little Oaks)

New Here ,
Oct 15, 2018

Copy link to clipboard

Copied

I redirected my website from http to https, since I got a security certificate; however, it didn't work.

I'm running my website hosted by a third-party (called Little Oaks) and redirected my website from http to https within their website, but it just made two different websites; one starting with http and another starting with https.

They told me that the code in the .htaccess is correct regarding syntax, etc but it could be just being overridden by preferences within the design software, because it also has happened to other customers who're running their websites with Wordpress.

Is there any way that I can stop Muse to overwrite within the Muse software?

Or any general suggestion to solve this problem?

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

Make a backup copy of your current file by Saving As old_.htaccess

On a Linux/Apache server, I would use this .htaccess code.  Change yourdomain.com to your actual domain name.  

## Rewrite www to non-www and http to https ##

RewriteEngine On

RewriteCond %{HTTP_HOST} ^www.yourdomain.com$

RewriteRule ^/?(.*)$ https://yourdomain.com/$1 [R,L]

RewriteEngine On

RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ https://yourdomain.com/$1 [R,L]

Upload to your server's root directory.

Clear your browser's cache and test it.

Views

762

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
Oct 15, 2018 0
Adobe Community Professional ,
Oct 15, 2018

Copy link to clipboard

Copied

I don't understand.  If your .htaccess file is re-directing users to the HTTPS site, there should be no problem.  Can you post the URL to your site?

Nancy O'Shea, ACP
Alt-Web.com

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...
Oct 15, 2018 0
New Here ,
Oct 16, 2018

Copy link to clipboard

Copied

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...
Oct 16, 2018 0
Adobe Community Professional ,
Oct 16, 2018

Copy link to clipboard

Copied

Yes.  That's what happens when you get a certificate installed on your server.  Ideally, your .htaccess file should redirect users from HTTP to HTTPS.   Also inform Google Console that your preferred URL is HTTPS.

Nancy O'Shea, ACP
Alt-Web.com

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...
Oct 16, 2018 0
New Here ,
Oct 18, 2018

Copy link to clipboard

Copied

Yes, so I'm trying to solve the problem why redirecting is not working. Since I'm using the third party to host my website, they edited my .htaccess file redirecting from HTTP to HTTPS, but didn't work. I double checked with them if there's any problem with my .htaccess file, but they said NO and told me it is possible to Muse itself overwrite the code.

Going back to my questions I wrote at the first post,

1) Is there any way that I can stop Muse to overwrite within the Muse software?

2) If the problem is not from overwriting, how can I solve this problem?

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...
Oct 18, 2018 0
Adobe Community Professional ,
Oct 18, 2018

Copy link to clipboard

Copied

Are you using a redirect from desktop to mobile javascript in your site?  If yes, start with removing that.

Nancy O'Shea, ACP
Alt-Web.com

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...
Oct 18, 2018 0
New Here ,
Oct 22, 2018

Copy link to clipboard

Copied

I get confused that you've asked about redirecting to mobile but anyway I don't think so because I hadn't used javascript when I build its mobile version by using Muse software.

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...
Oct 22, 2018 0
Adobe Community Professional ,
Oct 22, 2018

Copy link to clipboard

Copied

I know you used Muse to build your site.  The question is does your Muse site redirect to a different mobile page?   If it does, then it is redirected by JavaScript code that Muse generated.   And that code is causing a conflict.

Nancy O'Shea, ACP
Alt-Web.com

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...
Oct 22, 2018 0
LEGEND ,
Oct 22, 2018

Copy link to clipboard

Copied

Just a simple answer: Muse neither exports a .htaccess file nor overwrites or deletes an existing one.

You can easily check this by having a look at the files on your server before and after exporting your data.

In other words: You have to place your .htaccess file manually into the server directory of your website. Once done this, Muse won‘t even touch it.

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...
Oct 22, 2018 0
Adobe Community Professional ,
Oct 22, 2018

Copy link to clipboard

Copied

Consider this use case.

The server contains an  .htaccess file that redirects all inbound traffic from HTTP to HTTPS.

Then the page loads with a JavaScript that redirects from HTTPS back to HTTP.

Nancy O'Shea, ACP
Alt-Web.com

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...
Oct 22, 2018 0
Adobe Community Professional ,
Oct 23, 2018

Copy link to clipboard

Copied

Can you show us the code from your .htaccess file?

I ran a Nibbler report and it looks like you have both www and non-www URLs too which is not good.

Website report for www.miautogas.com

Nancy O'Shea, ACP
Alt-Web.com

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...
Oct 23, 2018 0
New Here ,
Oct 25, 2018

Copy link to clipboard

Copied

Screen Shot 2018-10-25 at 3.53.32 PM.png

This is my .htaccess file. In my memory, I haven't added a JavaScript, so, if somehow a JavaSript is being used in my website, I would like to know how I stop using it. I really appreciate your time and help!

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...
Oct 25, 2018 0
Adobe Community Professional ,
Oct 25, 2018

Copy link to clipboard

Copied

Make a backup copy of your current file by Saving As old_.htaccess

On a Linux/Apache server, I would use this .htaccess code.  Change yourdomain.com to your actual domain name.  

## Rewrite www to non-www and http to https ##

RewriteEngine On

RewriteCond %{HTTP_HOST} ^www.yourdomain.com$

RewriteRule ^/?(.*)$ https://yourdomain.com/$1 [R,L]

RewriteEngine On

RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ https://yourdomain.com/$1 [R,L]

Upload to your server's root directory.

Clear your browser's cache and test it.

Nancy O'Shea, ACP
Alt-Web.com

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...
Oct 25, 2018 0
Adobe Community Professional ,
Oct 25, 2018

Copy link to clipboard

Copied

As I suspected, your domain name landing page is redirecting users on tablets and mobile phones to HTTP urls.   See code below.

<link media="only screen and (max-width: 370px)" rel="alternate" href="http://miautogas.com/phone/index.html"/>

<link media="only screen and (max-width: 960px)" rel="alternate" href="http://miautogas.com/tablet/index.html"/>

Nancy O'Shea, ACP
Alt-Web.com

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...
Oct 25, 2018 0
New Here ,
Oct 30, 2018

Copy link to clipboard

Copied

Finally! It gets solved. Thank you so much!

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...
Oct 30, 2018 0
Adobe Community Professional ,
Oct 30, 2018

Copy link to clipboard

Copied

Great!  And don't forget to tell Google Console that your preferred URL is https without the www prefix. 

Nancy O'Shea, ACP
Alt-Web.com

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...
Oct 30, 2018 0