WebFaction
Community site: login faq

i have enabled LetsEncryot for many of my sites that have the from https://example.com all works fairly well.

but all my sites are also listed in a www301 with all my sites listed therein as http://www.example.com etc

how to do i also make these sites HTTPS? i.e. all the www.examples.com addresses to also be https compliant?

Should i edited them all to say https://www.example.com etc?? thanks for any insights

Or is their perhaps an .htaccess trick to accomplish a redirect

asked 06 Oct, 05:42

baba
27523
accept rate: 0%


You would set up SSL as you did with the base domain then set up a redirect.

permanent link

answered 06 Oct, 06:20

johns ♦♦
5.3k212
accept rate: 23%

not sure i follow ... but will try it out

(09 Oct, 04:57) baba

going crazy. I am unable to have www.example.ca go to https

here is my redirect in my .htacces fiel:

RewriteEngine On RewriteCond %{HTTP:X-Forwarded-SSL} !on RewriteCond %{REQUEST_URI} !^/(.well-known)(/|$) RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

(29 Oct, 05:34) baba

Send us a support ticket. It is difficult to see exactly what the error is without looking directly.

(29 Oct, 05:48) johns ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×27

question asked: 06 Oct, 05:42

question was seen: 274 times

last updated: 29 Oct, 05:48

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM