force HTTPS and WWW

the usual code won't force HTTPS, although I can type in HTTPS and access it that way.
And as soon as I paste the code to turn HTTPS on in config.php, the whole site cannot be accessed - not even the HTTP version.
I even tried changing my URL in my account for my license to point to HTTPS as someone else suggested with no luck.
There's something different about the 2.1 version of Xenforo maybe.
I don't even have HTTPS in the config file for my other forum and it works fine, HTTPS is forced. All code is the same between both sites.

***EDIT to say I changed the wrong board URL - I thought I was changing "board URL" but I was changing the homepage URL.
It's always the simple stuff isn't it.
FACEPALM
 
Last edited:
Top Bottom