How can I remove the controller name from url ?? |
htaacess.txt (Size: 171 bytes / Downloads: 77) config.txt (Size: 17.92 KB / Downloads: 92) site.txt (Size: 712 bytes / Downloads: 72) route.txt (Size: 111 bytes / Downloads: 77) Hi I want to access my page like--> http://localhost/basicsite/home currently I am getting it as--> http://localhost/basicsite/site/home or/and I want to access my page like--> http://localhost/basicsite/about currently I am getting it as--> http://localhost/basicsite/site/about "site" is the name of controller . I want to remove that "site" (name of controller) from URL how to achieve it please help me with this . those attachments are there showing required files you may want to know . attachments are 1- htaccess file ("at / root folder") 2- config.php ("application/config/config.php") 3- site.php ("application/controller/site.php") 4- routes.php ("application/config/routes.php") Thanks |
Messages In This Thread |
How can I remove the controller name from url ?? - by kartikmehra - 10-07-2015, 03:55 AM
RE: How can I remove the controller name from url ?? - by freddy - 10-07-2015, 04:13 AM
|