• It's very easy to increase website traffic and add free backlinks on Vevioz.com!

How to force to https

API

Staff member
Joined
Nov 17, 2018
Messages
132
Reaction score
29
Points
28
Location
Indonesia
Offline
Code:
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
 

Gian Ramadhan

New member
Joined
Jul 17, 2019
Messages
6
Reaction score
0
Points
1
Location
Somewhere I Belong. :3
Offline
Ane pake nginx kaka. :D Gak pake apache... :D Tutorial nginx nya dong, yang subdomain dan domain redirect ke https baik dari www atau non www. :D
 

API

Staff member
Joined
Nov 17, 2018
Messages
132
Reaction score
29
Points
28
Location
Indonesia
Offline
Ane pake nginx kaka. :D Gak pake apache... :D Tutorial nginx nya dong, yang subdomain dan domain redirect ke https baik dari www atau non www. :D
Nginx ane pakek cwp instant n ga pakek CLI, so IDK kaka :LOL:
 
Top Bottom