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';    
 $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]


  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

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

  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

  4. This actually works, thanks!

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

  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.
    SAP MM
    SAP SD

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

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

  9. CodeIgniter is gaining popularity these days. It is easier, faster and more reliable as compared to other frameworks. Kanhasoft is leading CodeIgniter Development Company in India which has successfully completed many CodeIgniter Web Development projects. Visit our site.

  10. Works for me .. Thank you :) Keep on Sharing ..

  11. Usually I never comment on blogs but your blog post is so convincing that I never stop myself to say something about. It helps me in many ways. If you are looking for codeigniter web development and coordinator development company then F5buddy is the best option for you Hire Codeigniter, developer and take advantage of our Codeigniter Development Services at reasonable prices.


Related Posts Plugin for WordPress, Blogger...