Simple Machines Community Forum
Customizing SMF => SMF Coding Discussion => Topic started by: Allstar123456 on January 11, 2021, 02:27:08 PM
-
I appreciate this might sound a bit weird, basically I'm wondering if it's even technically possible to have a user select-able switch in their profile settings that can make the site redirect all links to https:// ?
The reason is I brought back an old forum of mine from 2015 which is about a Mobile OS (Symbian) which is discontinued and struggles with HTTPS sites (anything above TLS1.0 won't open), but I of course would like the users who aren't browsing from that platform to be in HTTPS while Symbian users in HTTP and still able to browse the forum.
Thanks
-
I could be wrong but....if you don't use a redirect in your htaccess http to https then users should be able to view either one.... and if in your settings you don't set the forum address to https then both should be useable ?
-
It could be a bit tricky, you would really want https -users to get _everything_ through https, but you couldn't really achieve this without forcing the http folks to see https stuff as well.
In short - It isn't really a good idea.
-
Let's go back a step. Why would you want this as a function? Where's the downside to https?
-
Put them in different domains, cpanel has options per domain to force https or not, you should be able to run one in https and the older one in http.
-
Let's go back a step. Why would you want this as a function? Where's the downside to https?
The OP wants Symbian users to be able to browse the forum correctly... and Symbian has no support for https and no implementation is planned since it's EOL.
Put them in different domains, cpanel has options per domain to force https or not, you should be able to run one in https and the older one in http.
This is actually the only viable scenario that I can think of as well. No good for search engines, but it'll work.
-
I could be wrong but....if you don't use a redirect in your htaccess http to https then users should be able to view either one.... and if in your settings you don't set the forum address to https then both should be useable ?
My only worry there is let's say someone shares a https link on social media, a Symbian user tries to open it they will just get a blank screen (there's no good error messages on Symbian browsers it's just a blank screen); unfortunately not many of them understand they need to change the url to http.
Put them in different domains, cpanel has options per domain to force https or not, you should be able to run one in https and the older one in http.
I think this is the only option, bugger.
Thanks for your help everyone, I thought it would be something that's not possible.
-
My only worry there is let's say someone shares a https link on social media, a Symbian user tries to open it they will just get a blank screen (there's no good error messages on Symbian browsers it's just a blank screen); unfortunately not many of them understand they need to change the url to http.
Just use plain old http. My forum is still on http with no plans on migrating in the near future, still up and running ;).
Though with 2 or 3 posts a week ::), but still... if nothing else, bots seem to like it ;D.