Home » » [Web-development (jquery)] Removing index.php from URL in Codeigniter

[Web-development (jquery)] Removing index.php from URL in Codeigniter

Written By Unknown on Sunday 2 August 2015 | 02:50

Removing index.php from URL in Codeigniter
Removing index.php from URL in Codeigniter

Go to your root folder: create .htaccess

# Customized error messages. ErrorDocument 404 /index.php # Set the default handler. DirectoryIndex index.php # Various rewrite rules. <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L,QSA] </IfModule> 

0 comments:

Post a Comment

 
D.M.C.A Disclaimer - All contents published under GNU General Public License.
We does not upload or host any files on this website.
Copyright © 2015. MAYDANG
Proudly powered by Blogger