How to redirect an http domain to https?

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?

1 Like

If you are hosting with Webflow:

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?

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.

3 Likes

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: mailto: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.

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: mailto: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.

Is there a way via the settings on my webflow website where I can point all http pages to https? Can this be done manually? It seems that Webflow have not redirected my http automatically. See below all broken back links that need to be managed / removed / redirected. But none of these pages are relevant anymore.
Any ideas how this should be managed via Webflow?

Broken Backlinks Last Updated 30/Jan/2023