Dec 06, 2019, 07:48 AM

News:

Stable SMF release ver.: 2.0.15


QUICK NEWS

{NEW} - A new tutorial for Github is ready for your veiwing in the articles section.

{OLD} -New boards have been introduced. Stop on in and check it out.

Video of the week


Internal Links

SMF Sites

Quick Info

SSL 2.0.15 ?

Started by LandyVlad, May 25, 2019, 07:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LandyVlad

What's the best way to implement SSL on an existing 2.0.15 site, without breaking anything?
I reject your reality, and substitute my own.

lesmond

I see you already have ssl on the site

You cannot see attachments on this board.

You can add this to an .htaccess file in your forum folder if you have one, this will force ssl throughout your site.
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]

The only person who got all his work done by Friday was Robinson Crusoe

lurkalot

May 26, 2019, 05:52 AM #2 Last Edit: May 26, 2019, 06:03 AM by lurkalot Reason: added link
Run repair settings https://wiki.simplemachines.org/smf/Repair_settings.php

change all the urls, then add a redirect to your htaccess file.

And perhaps take a read of, https://www.simplemachines.org/community/index.php?topic=555034.0

LandyVlad

@lesmond yes there is an SSL certificate in existence there, indeed.

@lurkalot Thanks its been a while since I've used repair settings.

I had a look at that community link @lurkalot  but couldn't see in that anything specific to SSL/https ?
 
So I use that and it offers an option to convert all URLs from http to https ?
The once that's done, use the htaccess file (as per @lesmond post)  to force https. 

Correct?


(I have done my 2.1 forum as SSL which was easy as there is an option in the forum settings to force https throughout the site :)  )
I reject your reality, and substitute my own.

lurkalot

Quote from: LandyVlad on May 26, 2019, 08:47 PMSo I use that and it offers an option to convert all URLs from http to https ?
The once that's done, use the htaccess file (as per @lesmond post)  to force https. 

Correct?

Yes. ;)

Skhilled

You'll also want to check for posted links and images that use http. They may stop your site from showing as secured.

Oldiesmann

That's what the image proxy feature is for...
Cincy Space - now open! https://www.cincyspace.net