XF 1.5 Setting up HTTPS

Cory T

New member
Hi all just purchased Xenforo for our niche Crypto Mining community. minertopia.org

I have been trying to get http to https to work every time. I changed the settings to https on the board config and if I go directly to https it works as far as I can tell.

I've done the following:
added the mod rewrite to .htaccess
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301]

Changed the URLs in Admin CP

Made sure Letssncrypt SSL is working.

This is also running on a plesk server.

What am I missing ??


XenForo moderator
Staff member
In general, if that is set to on and the rewrite rule is functioning, the site should be served over HTTPS.
I'm actually getting redirected to https now but getting a redirect loop now so whatever change you have just made has fixed one thing but introduced another.

Cory T

New member
Yea I just added the https to on in config.php and added the rule .htaccess and it's now looping. if I remove it from .htaccess and just manually type the https address it works. I am stumped