Klik tombol Simpan Tema -->

YOU IP

IP

Cara Mengarahkan HTTP ke HTTPS Lewat File .htaccess

Hasil gambar untuk http to https




hallo gan disini saya mau share , cara direct http ke https menggunakan htaccess disini kita menfaatkan script

Baca Juga

tidak usah basa basi lansung saja .

masuk ke cpanel anda 
masuk ke file manager  
Screenshot_73


masuk ke public_html terus klik fiture setting
kita buka hidden nya 

Screenshot_74

cekliss pada show hidden files klik save
liat di public_html apakah ada file .htaccess jika tidak ada anda buat sendiri

Silahkan Masukan Script Berikut pada .htaccess
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

jika sudah klik save dan buka langsung websitenya 
sekian tutorial dari saya jika tidak ada yang tidak dimengerti bisa hubungi kami lewat fanspage.

Related Posts

0 Response to "Cara Mengarahkan HTTP ke HTTPS Lewat File .htaccess"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel

Ad Blocker Detected

Please consider supporting us by disabling your ad blocker

  1. Click on the AdBlock icon in your browser
    Adblock
  2. Choose, Don't run on pages on this domain
    Adblock
  3. A new window will appear. Click on the "Exclude" button
    Adblock
  4. The browser icon should have turned grey
    Adblock
  5. Refresh the page if it didn't refresh automatically. Thanks!
  1. Click on the AdBlock Plus icon in your browser
    Adblock
  2. Click on "Enabled on this site" position
    Adblock
  3. Once clicked, it should change to "Disabled on this site"
    Adblock
  4. The browser icon should have turned grey
    Adblock
  5. Refresh the page if it didn't refresh automatically. Thanks!