Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Obsydian on February 05, 2018, 10:21:29 AM

Title: Forum doesn't load through www. and no SSL
Post by: Obsydian on February 05, 2018, 10:21:29 AM
For some reason, my forum has been loading through http://thetarotforum.com/index.php (Not even SSL, which it should have!)
However, if you change it to http://www.thetarotforum.com/, you get a white page without the theme.

Is this related to the theme folders?  And how can I get SSL back up and running?
Title: Re: Forum doesn't load through www. and no SSL
Post by: drewactual on February 05, 2018, 10:25:18 AM
check the 'step by step conversion to ssl' in the server section for guidance and making sure you've done it right...

for your issue above, i wager your pointing everywhere.... search for and download repair_settings.php for your version of SMF, install and run it, then delete it... make sure ALL the paths match (https://www as opposed to http:// or http://www, ect)...

edited to add: here is the link to repair_settings.php, and instructions: https://wiki.simplemachines.org/smf/Repair_settings.php (https://wiki.simplemachines.org/smf/Repair_settings.php)
Title: Re: Forum doesn't load through www. and no SSL
Post by: aegersz on February 05, 2018, 10:46:08 AM
your site loads the same for me, with or without https or www

you are almost there so if you are running Linux then you need forcefully redirect all non-SSL (http/port 80) data to SSL (https/port 443) via .htaccess something like the following:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://thetarotforum.com/$1 [R=301,L]

Title: Re: Forum doesn't load through www. and no SSL
Post by: Aleksi "Lex" Kilpinen on February 07, 2018, 01:36:33 AM
The links in the OP seem to be working perfectly fine and redirecting to https, so I'm gonna assume this is solved. :)
If however I am wrong, and there are further questions regarding this, feel free to mark this not solved again and post back to let us know.