Welcome Guest, Not a member yet? Register   Sign In
codeigniter project moved to production but pages are not opening
#1

Hi,

i have deployed the codeigniter project in production but its always redirected to index.php present in the WWW folder and not the index page present in the controller.

Can any one please help on this topic

Kind Regards,
Pradeepta
Reply
#2

Check apache virtual host config, or your .htaccess.
Reply
#3

(This post was last modified: 10-25-2018, 12:05 PM by ppuhan1389.)

How exactly to check the server config
Reply
#4

@ppuhan1389,

What happens when you remove the index.php file from the www directory? You may need to edit the index.php file to redirect you to the CI default directory.
Reply
#5

Thanks Bro, but could you please let me know how . As i have tried the same but not able to do so .
Reply
#6

Guys it worked now . Seems all the codeigniter controller names should start with a capital letter .
Reply
#7

@ppuhan1389,

Yes it should ( https://codeigniter.com/user_guide/gener...ello-world ).
Reply




Theme © iAndrew 2016 - Forum software by © MyBB