Code Igniter – Remove index.php From URL


create htaccess file with this content

RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /codeigniter/index.php/$1 [L]

Advertisements