Wednesday, July 22, 2015

Remove Index.php From URL in CodeIgniter

How To Remove Index.php From CodeIgniter in Windows Xampp

Follow This Step
1. First check mod_rewrite is enabled or not
2. To check this create php file type in that



3. Run into browser
4. Search for the mod_rewrite if you will find that in loaded module then its enabled else you have to enabled this mod_rewrite
5. After that create .htaccess file in your root folder of codeigniter
6. Copy this below codeand paste into that .htaccess file


7. After that change into the config.php of codeigniter

$config['index_page'] = 'index.php';    
    to      
 $config['index_page'] = ' ';                 

8. Here you done now run the file with index.php using url http://localhost/ci/welcome



-----------------------------------------------------------------------------------------------
you would also like 

 Interview Question [PHP] 

How to create JSON using MySql Database [PHP]




9 comments:

  1. Nice Post! This is a great post. I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again. Thanks a million and please keep up the effective work Thank yo so much for sharing this kind of info- Hire Codeigniter Developer

    ReplyDelete
  2. Great help... very to the point.

    ReplyDelete
  3. My friend Suggest me this blog and I can say this is the best blog to get the basic knowledge.Thank you so much for this Selenium Training in Chennai

    ReplyDelete
  4. This actually works, thanks!

    ReplyDelete
  5. It was very nice blog to learn about SAP HR.Thanks for sharing new things.SAP HR

    ReplyDelete
  6. SAP MM,SD, real Time Training in Chennai
    We provides Best SAP MM,SD Training in Chennai wih real time project assistance by our leading Materail Management Consultant.
    For Free Live Demo @ Call to 8122241286.
    www.thecreatingexperts.com
    SAP MM
    SAP SD

    ReplyDelete
  7. Very Good; post worked for me; especially mod_rewrite

    ReplyDelete
  8. i don't know where is the problem for me

    ReplyDelete

Related Posts Plugin for WordPress, Blogger...