[ASK] Bagaimana redirect http ke https

Discussion in 'Internet Marketing' started by saimi, Aug 19, 2014.

  1. saimi

    saimi Member

    Joined:
    Jan 10, 2014
    Messages:
    449
    Likes Received:
    42
    Trophy Points:
    28
    Salam sejahtera semua. Sedikit pencerahan saya mohon dari mastah di sini berhubung dengan script untuk redirect dari http ke https. Sebenar saya hampir pasti menggunakan protokol https dan hanya memerlukan beberapa hari lagi untuk pelaksanaannya. Masalah yang bakal saya hadapi mungkin berlakunya duplicate konten dan bisa memberi pengaruh pada keyword di SERP.

    Blog yang saya ingin gunakan protokol https hanyalah blog personal dan bukan ecommerce cuma semata-mata ingin memberi keamanan kepada pengunjung. Ditambah pula diperkatakan penggunaan protokol https bisa meningkatkan posisi blog di SERP. Saya ada menerbitkan artikel tentang ini di http://www.rossaimi.com/2014/08/penggunaan-https-baik-untuk-seo-dan-serp.html

    Masalah saya sekarang ialah bagaimana untuk melakukan redirect url lama ke protokol https. Apakah perlu dilakukan di htaccess. Saya menggunakan platform wordpress self hosted. Mohon pencerahan ataupun kirimkan scriptnya di sini. Saya menggunakan rapid ssl.
     
  2. Dan

    Dan Forum Bot

    Joined:
    Dec 4, 2012
    Messages:
    1,316
    Likes Received:
    257
    Trophy Points:
    83
    Google+:
    Contoh untuk bersosial.com ini:

    Code:
      RewriteEngine On
    
      RewriteCond %{HTTPS} off
      RewriteRUle (.*) https://www.bersosial.com/$1 [R=301,L]
    
      RewriteCond %{HTTPS} on
      RewriteCond %{HTTP_HOST} ^bersosial\.com$ [NC]
      RewriteRUle (.*) https://www.bersosial.com/$1 [R=301,L]
    
     
    saimi likes this.
  3. Ardilas

    Ardilas Super Level

    Joined:
    Feb 18, 2013
    Messages:
    4,243
    Likes Received:
    317
    Trophy Points:
    83
    Google+:
    Saya juga mau pake SSL tapi tidak sekarang masih mempelajari juga. Mungkin bawah saya mau menjelaskan.

    Ternyata munculnya di atas.
     
  4. saimi

    saimi Member

    Joined:
    Jan 10, 2014
    Messages:
    449
    Likes Received:
    42
    Trophy Points:
    28
    Terima kasih mas @Dan..nanti akan saya coba di blog setelah siap proses domain transfer dan ssl validate. Agak gementar jugak nih pertama kali akan menggunakan https
     
  5. saimi

    saimi Member

    Joined:
    Jan 10, 2014
    Messages:
    449
    Likes Received:
    42
    Trophy Points:
    28
    Kalau sudah pake nanti jangan lupa kongsi-kongsikan pengalamannya di sini mas @Ardilas.. Saya zero pasal ssl nih tetapi hanya nekad saja.
     
  6. Dan

    Dan Forum Bot

    Joined:
    Dec 4, 2012
    Messages:
    1,316
    Likes Received:
    257
    Trophy Points:
    83
    Google+:
    Kalau punya masalah PM saja :)
     
    saimi likes this.
  7. saimi

    saimi Member

    Joined:
    Jan 10, 2014
    Messages:
    449
    Likes Received:
    42
    Trophy Points:
    28
    Terima kasih Mas @Dan .. Sekiranya ada masalah yang tidak bisa diselesaikan,,akan saya PM :)
     
  8. angga89

    angga89 New Member

    Joined:
    Aug 22, 2014
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    para sesepuh disini fungsi dari https apa ya dan kalau blog pribadi pak ssl bagus tidak ?
     
  9. Batik Trusmi Online

    Batik Trusmi Online Member

    Joined:
    Aug 12, 2014
    Messages:
    88
    Likes Received:
    4
    Trophy Points:
    18
    itu pake file htaccess ?
     
  10. Grant Verleend

    Grant Verleend Active Member

    Joined:
    Sep 10, 2014
    Messages:
    1,234
    Likes Received:
    35
    Trophy Points:
    48
    Google+:
    harga penyedia yang paling murah dimana gan
     
  11. April Precillia

    April Precillia New Member

    Joined:
    Sep 11, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
  12. Fatahillah

    Fatahillah Member

    Joined:
    Jun 27, 2014
    Messages:
    460
    Likes Received:
    20
    Trophy Points:
    18
    Google+:
    Tertarik juga pake https.. tapi belum paham..
     
  13. Devita

    Devita Active Member

    Joined:
    Oct 11, 2014
    Messages:
    1,196
    Likes Received:
    43
    Trophy Points:
    48
    Google+:
    Pakai couldflare gratis den
     
Loading...

Share This Page