XF 1.5 A problem about HTTPS redirect

Umut Karademir

Member
Licensed customer
"Hello everyone. I have purchased a SSL sertificate for my forum that located at subdomain. I added SSL redirect to the .htaccess file and replaced http with https in forum page in forum options. But when I go to subdomain.mywebsite.com it's still http, not https. How can I fix this problem?"

forum.nededik.com
 
Check in the board options that you are using https url not the http one

Use chrome inspector - f12 and security tab to determind if any https resources are being served.
 
Have you applied the certificate to the domain?

Once you do, HTTPS should be set by the server automatically.
If it isn't, you can add this to the end of the library/config.php file:
PHP:
$_SERVER['HTTPS'] = 'on';
 
As posted above, that is likely due to mixed/insecure content.

You can use the browser inspector to locate the elements.
 
So, then I should get two. One for the root domain, one for the subdomain?

If the subdomain just redirects to the subfolder/root domain, just buy an SSL for the root domain.

Try this in your XenForo .htaccess (Underneath "RewriteEngine On"):

Code:
RewriteCond %{SERVER_PORT} 80
RewriteRule ^/?(.*) https://www.theparacast.com/forum/$1 [R,L]

EDIT - Sorry, just saw it's someone else's thread and they have a subdomain... :confused:
 
Last edited:
Back
Top Bottom