Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
dieselpowered Posted October 23, 2016 Posted October 23, 2016 Either I am not working this correctly or something, however, I am unable to find guidance on this. Could someone walk me through setting up a forum wide SSL for my forums. I assume I need to add a redirect or something in my htaccess file, however, if someone could be so kind to walk me through, I'd appreciate it! Thanks in advance!
Ahmad E. Posted October 23, 2016 Posted October 23, 2016 If you want to force HTTPS using .htaccess then this should do it: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Source: http://stackoverflow.com/questions/13977851/htaccess-redirect-to-https-www
dieselpowered Posted October 23, 2016 Author Posted October 23, 2016 Thank you for the response, do I need to add anything to ensure the www is always stripped from the URL?
Ahmad E. Posted October 23, 2016 Posted October 23, 2016 I think if you have your board url set to a non-www one then it should automatically be stripped by IPS.
dieselpowered Posted October 23, 2016 Author Posted October 23, 2016 Ok that code you posted does not appear to work, I cannot navigate from the index page. Hmmm.
Ahmad E. Posted October 23, 2016 Posted October 23, 2016 Do you have friendly urls enabled? If so, go to your ACP->System->Search Engine Optimization then click on "download this file" (it is in the "Rewrite URLs" description). And replace the current .htaccess file with the one downloaded. Download this file after changing the board_url to https.
dieselpowered Posted October 23, 2016 Author Posted October 23, 2016 Yeah I did that, same results. I did, however, go into the config file and change the url to https...that seems to have worked except for all the pages are secured except for the index page?? Appreciate your help!
Ahmad E. Posted October 23, 2016 Posted October 23, 2016 Just now, dieselpowered said: Yeah I did that, same results. I did, however, go into the config file and change the url to https...that seems to have worked except for all the pages are secured except for the index page?? Appreciate your help! That is weird, cannot really think of a reason why it would do that. Would need to take a look at your site. You can aswell submit a ticket.
SaltyBart Posted October 23, 2016 Posted October 23, 2016 3 minutes ago, dieselpowered said: Yeah I did that, same results. I did, however, go into the config file and change the url to https...that seems to have worked except for all the pages are secured except for the index page?? Appreciate your help! Then there is a http link on your home page, you can inspect with google chrome the loaded links. Change the http links to https manually, mostly there are manual added links or images (by some themes you have to re-upload your background image if you have). And do not forget to ask ips support for changing your license URL to https at the client area.
dieselpowered Posted October 23, 2016 Author Posted October 23, 2016 Yeah I see that, not sure how I can change that as it is something the board is putting out...nothing that I added? Thanks!
Ahmad E. Posted October 23, 2016 Posted October 23, 2016 Just now, dieselpowered said: Yeah I see that, not sure how I can change that as it is something the board is putting out...nothing that I added? Thanks! Did you clear the cache as suggested by the Guide? If yes, might be something posted by a member? Cannot really tell you where it is coming from without seeing your site.
dieselpowered Posted October 23, 2016 Author Posted October 23, 2016 Hi there, yes I did clear the cache (on my browser)...here is what is causing the issue. Quote Mixed Content: The page at 'https://domain.com/?_fromLogin=1' was loaded over HTTPS, but requested an insecure image 'http://domain.com/uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_select_dropdown.png'. This content should also be served over HTTPS. So it appears to be an image that is being served...hmmm. Thanks much!
Ahmad E. Posted October 23, 2016 Posted October 23, 2016 Just now, dieselpowered said: Hi there, yes I did clear the cache (on my browser)...here is what is causing the issue. So it appears to be an image that is being served...hmmm. Thanks much! This image is hosted locally so it should be served over HTTPS. You need to clear your sites cache, not your browsers. ACP->System->Support->Something isn't working correctly.->Continue The first step should clear the cache.
dieselpowered Posted October 23, 2016 Author Posted October 23, 2016 Got it...seems to be working like a champ now. Appreciate you two taking the time to help me out, much appreciated!
dieselpowered Posted October 23, 2016 Author Posted October 23, 2016 So I have to ask...what is the purpose of this redirect? RewriteCond %{HTTPS} off RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] I ask cause it appears to work without that code added to the htaccess file.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.