• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

unable to load your default controller on Codeigniter

phpcodeigniterroutes


PHP Snippet 1:

example.com/class/function/id/

PHP Snippet 2:

$route['default_controller'] = "home/index";

PHP Snippet 3:

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1

PHP Snippet 4:

$application_folder = 'application';

PHP Snippet 5:

$application_folder = 'application/home';

PHP Snippet 6:

controllers->Home.php

PHP Snippet 7:

$route['default_controller'] = "home";

Related Snippets

printing all running session variable in laravel 5.1

PDOException SQLSTATE[HY000] [2002] No such file or directory

virtctl works when executed via command line but not from php exec()

Facebook API, get page post link (PHP)

Warning: A non-numeric value encountered

How can i update or reset my password without entering email field in laravel-8?

Laravel - Implicit route model binding with soft deleted data

PHPS source file - 403 Forbidden You don't have permission to access this resource

How do I upload a laravel project on cPanel shared hosting?

Performance of foreach, array_map with lambda and array_map with static function

PHP: Print caught exception like Xdebug

Split comma separated value from table column into rows using mysql?

How can I easily switch between PHP versions on Mac OSX?

Get data from accuweather api url

PHP web3 ERC20 token function call

About Contact Privacy policy Terms and conditions