Tanya donk redirect ssl yang pakai php


Status
Not open for further replies.

Qonek

Poster 2.0
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
Buat file .htaccess kemudian copy script berikut ke file .htaccess

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]
 

GPLHosting

Hosting Guru
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
 
Status
Not open for further replies.

Top