1. pergi ke application -> config -> config.php
2. cari $config['index_page'] = 'index.php';
3. hapus index.php sehingga menjadi $config['index_page'] = '';
-------------
tambahkan file .htaccess di root folder
lalu tambahkan script berikut:
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]
done
No comments:
Post a Comment