Cara redirect http ke https melalui file htaccess

Baik untuk kali ini kami akan share tentang cara setting https atau redirect http ke https



 Berikut Cara Redirect Http ke Https .htaccess :

  •  Langkah pertama kita login cpanel hosting terlebihahulu  cpanel => file manager => public_html. Jika sudah nantinya anda cari file .htaccess lalu edit lalu kalian bisa menambahkan script dibawah ini :
         
https://member.idwebhost.com/aff.php?aff=4722
       
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On 
RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
</IfModule>
# END WordPress
Cara redirect http ke https melalui file htaccess Cara redirect http ke https melalui file htaccess Reviewed by bayu on 12:20:00 AM Rating: 5
Powered by Blogger.