Removing The Index.Php File From Url Inward Codeigniter

By default, the index.php file volition survive included inwards your URLs:
 example.com/index.php/news/article/my_article 
You tin easily take away this file yesteryear using a .htaccess file amongst simply about uncomplicated rules.
 RewriteEngine on RewriteCond $1 !^(index\.php|images|robots\.txt) RewriteRule ^(.*)$ index.php?/$1 [L] 
This htaccess dominion is footling dissimilar than dominion y'all tin honor inwards Codeigniter's ain website. When I used the codeigniters htaccess rule, it didn't worked. After searching the solution I works life inwards a higher house solution. It worked. :)
Sumber http://developer-paradize.blogspot.com

Comments

Popular posts from this blog

What Are The Main Components of a Computer System

Delete Daily Doppler E-Mail Spam From An Iphone [Fix]