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_articleYou 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
Post a Comment