Welcome Guest, Not a member yet? Register   Sign In
404 error from codeigniter when hosted to server (tried every possible conditions)
#23

(06-02-2019, 11:54 AM)demyr Wrote: Hi there.

First, why not trying to remove index.php in your url?

Open config.php and do following replaces:
  $config['index_page'] = "index.php"
to :
$config['index_page'] = ""

Btw, your address is https://www.everstore.com.au/testcod/test/

I think you must first set up everything clearly. Choose your main Controller name. For example: Home. And a model: Home_Model. And insert your view just in your view folder. You can also create some sub folders for views like Backend or Site. And don't forget correct routing.
$config['index_page'] = "index.php"

bro i removed index.php but still i need to use index.php

https://www.csemrec.ml/lol/     this is my base url (new one as you told setup everything clear)

in this i have reg and login

https://www.csemrec.ml/lol/reg/   is not working
https://www.csemrec.ml/lol/index.php/reg/     is working

now how to solve index.php
Reply


Messages In This Thread
RE: 404 error from codeigniter when hosted to server (tried every possible conditions) - by chinna - 06-02-2019, 06:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB