Can't view my other pages |
[eluser]tabatsoy[/eluser]
Hi I'm having problem with CI on my server. When I type http://mysite.com/index.php I can view it but when I type or click the link on my index page I get a 404 Not Found, example is when I type http://mysite.com/index.php/site/about. Thanks and I'll appreciate any response
[eluser]Tri Dang[/eluser]
Hi, Have you created site controller and about method inside it?
[eluser]tabatsoy[/eluser]
Yes, here is my site controller: Code: <?php
[eluser]Tri Dang[/eluser]
Thank you, Another question: have you made any changes to your config.php and routes.php?
[eluser]tabatsoy[/eluser]
in config.php, I changed the base url to http://mysitename.com and I also changed my uri_protocol to request_uri because if I use auto even the index page returns a "404 Not Found". in routes.php, I changed the default controller to site. Thanks and Hope that helps
[eluser]Tri Dang[/eluser]
Sorry, I can't help you more. I'm interested in the solution too.
[eluser]tabatsoy[/eluser]
No problem. Seems no one's interested with the solution, it's just us
[eluser]fiktionvt[/eluser]
I have the same problem and can not figure it out. |
Welcome Guest, Not a member yet? Register Sign In |