Removing index.php in CI 3.0 |
Hi guys,
what is the right codes in .htaccess to remove the index.php in the URL? I have no problem with CI 2.0 but it seems the codes doesn't work in CI 3.0. Any help please. Thanks in advance.
This works for me:
Code: <IfModule mod_rewrite.c> Also check in your application/config/config.php file that the index_page variable is set to blank: Code: /*
RewriteEngine На
RewriteCond% {} REQUEST_FILENAME! -f RewriteCond% {} REQUEST_FILENAME! -d RewriteCond $ 1 ^! (Индекс \ .php | роботы \ .txt | карта сайта \ .xml | CSS | JS) RewriteRule ^ (. *) $ Index.php / $ 1 [L]
|
Welcome Guest, Not a member yet? Register Sign In |