Streaming live at 10am (PST)

How to redirect an http domain to https?


#1

We have a site set up on http but wish to make it secure. How do you redirect this site to the new secure site https. With htaccess you would use:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Does webflow do this automatically or is there some way of doing this with Regex in the redirect page section?


#2

If you are hosting with Webflow:


#3

This only shows you how to set up SSL. That I am fine with. The question I want answered is as Google is already indexing http and we have good traffic to the site once we switch to https we want to make sure any indexed links under http are re-directed to https. So how does webflow deal with that is it automatic or do we need to apply a site re-direct for any http pages?


#4

When you point a domain to our SSL servers, it will automatically issue a 301 redirect for all http requests to their https equivalent. We effectively do the same redirect that the apache config snippet you posted would do.


#5

Thanks exactly what I need to know. We now have a problem where we have followed your documentation regarding setting up an ssl site (keep in mind this site is already set up and live on http) but the site is now showing on the root domain as not being secure, your connection is not private. This is because the www. CNAME record has not propagated yet and is still set to the unsecure site. So we are now stuck with a site that is indicating to people it is insecure.

Why is there no documentation on your site to warn of this scenario? I do not count the NOTE: It may take up to a few hours for DNS changes to take effect. as an applicable warning. You should state something that says if you are switching from non-secure to secure via www do not change the IP addresses on the root name until the www CNAME had propagated otherwise your site will give you security warnings.

I’m certainly not impressed with the fact that our site is not only down but looking like it’s some kind of dodgy spam site.

What do you suggest we do about this?

Mark Lett

Website Development

Ellen MacArthur Foundation

The Sail Loft, 42 Medina Road, Cowes, Isle of Wight, PO31 7BX

t: +44 (0) 1983 296463

e: mark.lett@ellenmacarthurfoundation.org mark.lett@ellenmacarthurfoundation.org

Twitter: @circulareconomy

Order our http://tiny.cc/newdynamic2 latest book today, A New Dynamic 2: Effective systems in a circular economy

Charity Registration No. 1130306 • OSCR registration no. SC043120 • EU transparency register N°206816021848-17

This e-mail is confidential. It is intended for the named recipient(s) only. If you have received in error, do not copy

or disclose its contents. Please notify us immediately and delete the e-mail from your computer.


#6

Also following up on my complaint about no warning. It seems the images for the site are all still being fetched from http. So broken images and warnings about being served from an insecure site are also an issue.

Mark Lett

Website Development

Ellen MacArthur Foundation

The Sail Loft, 42 Medina Road, Cowes, Isle of Wight, PO31 7BX

t: +44 (0) 1983 296463

e: mark.lett@ellenmacarthurfoundation.org mark.lett@ellenmacarthurfoundation.org

Twitter: @circulareconomy

Order our http://tiny.cc/newdynamic2 latest book today, A New Dynamic 2: Effective systems in a circular economy

Charity Registration No. 1130306 • OSCR registration no. SC043120 • EU transparency register N°206816021848-17

This e-mail is confidential. It is intended for the named recipient(s) only. If you have received in error, do not copy

or disclose its contents. Please notify us immediately and delete the e-mail from your computer.