Qonek Poster 2.0 10 Dec 2017 #11 Buat file .htaccess kemudian copy script berikut ke file .htaccess RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]
Buat file .htaccess kemudian copy script berikut ke file .htaccess RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]
Qonek Poster 2.0 10 Dec 2017 #12 Buat file .htaccess kemudian copy script berikut ke file .htaccess RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]
Buat file .htaccess kemudian copy script berikut ke file .htaccess RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]
khairilgunawan Expert 2.0 Verified Provider 10 Dec 2017 #13 Kalau webnya pakai cloudflare flexible SSL disarankan pakai ini biar ga error: Code: # memastikan web diakses dengan https RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Kalau webnya pakai cloudflare flexible SSL disarankan pakai ini biar ga error: Code: # memastikan web diakses dengan https RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
pluto01 Hosting Guru The Warrior Verified Provider 10 Dec 2017 #14 hositngku1234 said: Blm bisa auto juga bingung Click to expand... Mksdnya .htaccessnya ga fungsi ? Saat ga jln errornya gmn? Btw webservernya pakai apa yach ?
hositngku1234 said: Blm bisa auto juga bingung Click to expand... Mksdnya .htaccessnya ga fungsi ? Saat ga jln errornya gmn? Btw webservernya pakai apa yach ?
H hositngku1234 Apprentice 2.0 10 Dec 2017 #15 Sbb tuan. Index.phpnya aja si yang ndak auto direct ke https. Semua code tadi udah copy ke htaccess
GPLHosting Hosting Guru 11 Dec 2017 #16 pastikan file .htaccess nya pakai tanda titik (dot) didepannya .htaccess <= benar htaccess <= salah htaccess.txt <= salah jangan lupa di change permissionnya pakai : chmod 644 .htaccess
pastikan file .htaccess nya pakai tanda titik (dot) didepannya .htaccess <= benar htaccess <= salah htaccess.txt <= salah jangan lupa di change permissionnya pakai : chmod 644 .htaccess