CodeIgniter Laravel PHP Example Javascript jQuery MORE Videos New

How to remove index.php from URL in CodeIgniter using .htaccess


Create a .htaccess file in root folder and add this code.

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]
    

Before Path :

http://localhost/codeigniter/index.php/Welcome/about

After Path:

http://localhost/codeigniter/Welcome/about


Warning: mysqli_connect(): (HY000/1040): Too many connections in /www/wwwroot/studentstutorial.com/demo/conn/conn.php on line 15
Could not Connect My Sql:Too many connections