• 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

Chunk and transpose a flat array into rows with a specific number of columns

how to create html table in php

how to insert data into select2 search input after scan using qrcode

Warning: A non-numeric value encountered

How Can I Do LIMIT 1, 2 In WP_Query

Laravel Nova Dependency Container what are the allowed resource properties other than id in dependsOn

javascript html popup window

How to properly start Laravel 8 with Bootstrap & authentication

Updating and Synchronizing Woocommerce Subscriptions to Custom Date

Execute only one time and then wait set period of time before executing again

PHP only Hit Counter?

php curl requesting twice

HTTP Range requests with php for Video Embedding for solving going to specific time in video (seek bar not work)

Required field only if another field has a value, must be empty otherwise

Laravel Displaying image from database

About Contact Privacy policy Terms and conditions