Hey guys! I was wondering if i could possibly redirect my forum to HTTPS i don't want it HTTP i just bought SSL and i want all my guests and users to get redirected to https with just one click of a button lol if you know what i mean
ThanksĀ
Copy it in your .htaccess file
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
If you dont want it to be www then remove www. from the second line
(2015-11-10, 07:59 AM)Dark-Power-Invader Wrote: [ -> ]Copy it in your .htaccess file
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
If you dont want it to be www then remove www. from the second line
Thanks! But won't that interfere with my subdomains? like i don't want my subdomains to redirect me to my main domain lol
(2015-11-10, 08:01 AM)Adzdon Wrote: [ -> ] (2015-11-10, 07:59 AM)Dark-Power-Invader Wrote: [ -> ]Copy it in your .htaccess file
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
If you dont want it to be www then remove www. from the second line
Thanks! But won't that interfere with my subdomains? like i don't want my subdomains to redirect me to my main domain lol
If they are being served from different places then you'll be fine.
If your subdomain is pointing to same directory of your main domain then this code will redirect your subdomains to https.
Ah welp... some of my pages have Secure and some doenst have Secure.. how do you fix it? My forum doesnt have SECURE [SSL] but my admin panel has SECURE.
(2017-01-28, 06:39 AM)Assumpted Wrote: [ -> ]Ah welp... some of my pages have Secure and some doenst have Secure.. how do you fix it? My forum doesnt have SECURE [SSL] but my admin panel has SECURE.
Kindly open a new thread with detail about your problem, don't forget to include your board URL.
(2017-01-28, 06:39 AM)Assumpted Wrote: [ -> ]Ah welp... some of my pages have Secure and some doenst have Secure.. how do you fix it? My forum doesnt have SECURE [SSL] but my admin panel has SECURE.
this can be caused by unsecured links inside your templates.