XF 1.5 SSL Force Fail

Glunar

Member
Hello, i have managed to install SSL and re-direct all the HTTP links to HTTPS on my homepage however, i'm struggling to do the same for the forums part. It works prefectly fine when i enter the link starting with HTTPS but when i force it to open with HTTP, it doesn't automatically change it to HTTPS like on my homepage. I have read few documents about this however, my .htaccess file doesn't look like the way it used to look. Any suggestions?

/

I also tried editing the http into https in options from admin CP.
 
My .htaccess file does not look like the way on that page. It only looks like this;
Code:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Although, i did the second part where it says;
Code:
Board URL
The Board URL is one change which must be made for all installations.
That is changed in the ACP -> Options -> Basic Board Information: Board URL.
Simply change the existing URL to the HTTPS equivalent, e.g. from http://mysite to https://mysite.
The same applies to any other URLs on that page: the Home Page URL if set, the privacy policy URL, the terms and rules URL, and the contact URL, if custom URLS have been set.
And yet it still doesn't work if i force to see http.
 
My .htaccess file does not look like the way on that page. It only looks like this;
Based on what you've said, it sounds like you are referring to a .htaccess file in the root directory, not your XF directory. You need to add the necessary code to the .htaccess file in the XF directory as well (generally near the top of the file).
 
Based on what you've said, it sounds like you are referring to a .htaccess file in the root directory, not your XF directory. You need to add the necessary code to the .htaccess file in the XF directory as well (generally near the top of the file).
I added the;
Code:
    RewriteCond %{HTTPS} off
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

inside /html_public/forums and now it automatically redirects http to https, thank you so much Mike.
 
Based on what you've said, it sounds like you are referring to a .htaccess file in the root directory, not your XF directory. You need to add the necessary code to the .htaccess file in the XF directory as well (generally near the top of the file).
I really want to thank you so much for helping me man, wow! Hosting company told me that in-order to do such thing like this requires an additional development purchase! It's done now, lovely!
 
Back
Top Bottom