0

Earlier my menus were working fine and suddenly it started giving error

Not Found The requested URL /allbound/index.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

How can I resolve this issue?

Michael Benjamin
  • 346,931
  • 104
  • 581
  • 701
user6617474
  • 103
  • 2
  • 12

3 Answers3

0

//add index.php before function name

dograpublicschool.com/confluent/travelling/index.php/flights‌​d

to remove index.php from url

try

CodeIgniter removing index.php from url

Community
  • 1
  • 1
Vishnu Bhadoriya
  • 1,655
  • 1
  • 20
  • 28
0

You have to edit the access url.

In this case access the url like this http://dograpublicschool.com/?ndex.php/confluent/travelling/flightsd. It is working with me.

Remove index.php in codeigniter

You can remove the index.php by editing your .htaccess as shown below

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

Hope that helps. Thanks

muya.dev
  • 966
  • 1
  • 13
  • 34
0

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
  • 1
    Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Dec 30 '21 at 11:49