Untuk membuat HTTPs di Codeigniter sebagai berikut. yang perlu anda ketahui, rute rute yang harus anda persiapkan untuk memulai itu.
1. Buat file .htaccess di file codeigniter anda
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]
2. Konfigurasi file config di application/config
Taraaaaaaaaaaaaaaaaaaaaaaa, Anda sudah siap untuk berseluncur mengunakan HTTPS