.htaccess - How to remove index.php from url in codeigniter by using codeigniter -


i having problem want remove index.php url url http://localhost/houseboat/index.php/home/about want change http://localhost/houseboat/home/about

please me solve problem

first need access .htaccess file should in public_html or folder within that. if it's not need create copy , paste following code that:

rewriteengine on rewritecond %{the_request} ^get.*index\.php [nc] rewritecond %{request_uri} !/system/.* [nc] rewriterule (.*?)index\.php/*(.*) /$1$2 [r=301,ne,l] 

hope helps


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -