Importance of environment setting in Codeigniter

Codeigniter contains an environment setting in index.php. which is used to disable the error showing in the frontend of the website or UI. By default the environment comes with development here, we can see the errors that occur during the development of our website. After successful completion of the website, we have to change the …

Importance of environment setting in Codeigniter Read More »

Share 👇
remove index.php coeigniter

How to hide index.php from codeigniter website

to remove this firstly create .htaccess named file in your main app folder RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] add this code to your .htaccess file and save it change $config[‘index_page’] = ”; and $config[‘uri_protocol’] = ‘REQUEST_URI’; in your config.php file. save the file, run the app without index.php …

How to hide index.php from codeigniter website Read More »

Share 👇