EllisLab text mark
Advanced Search
     
How to hide index.php in redirect() ?
Posted: 26 May 2012 01:43 AM
Joined: 2012-05-26
10 posts

Hello,
I’m new to both web programming and codeigniter. I try to learn basic stuff.
I’m using latest stable version of CI (2.1.0)
I already manage to hide index.php using .htaccess redirect command as explained in user guide. Now i’m trying to redirect from one controller to other controller via url helper. The url helper manage to redirect the page to the destination i wanted, but the index.php appears again. How do i remove/hide it from redirect(’/somepage.php’)??

 
Posted: 26 May 2012 01:46 AM   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2007-11-28
2435 posts

Remove it in your application/config/config.php file.

 
Posted: 26 May 2012 02:54 AM   [ # 2 ]   [ Rating: 0 ]
Joined: 2012-05-26
10 posts

It works… thank’s