hello firend if u need a SEO friendly URL
Go to ur .htaccess file in and use this code carefully
RewriteEngine on RewriteBase / # if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.php) # otherwise forward it to index.php RewriteRule ^(.+)$ yourproject/index.php?$1 [PT,L,QSA]
this code will remove the index.php in the URL For eg. www.example.com/index.php/yourview to www.example.com/yourview
RewriteRule ^(.+)$ index.php?$1 [PT,L,QSA] (if ur in root use this line "RewriteRule ^(.+)$ index.php?$1 [PT,L,QSA]" instead of "RewriteRule ^(.+)$ yourproject/index.php?$1 [PT,L,QSA]" )