Answers for "404 page not found codeigniter"

1

custom 404 page codeigniter 4

$routes->set404Override(function(){
    return view('your_filename');
});
Posted by: Guest on June-20-2021
0

404 page not found localhost codeigniter

.htaccess

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$1 [PT,L]
Or

Options +FollowSymLinks
Options -Indexes
DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
Posted by: Guest on September-05-2020
1

404 page not found codeigniter

#Ubuntu 18.04
1.Add this in 000-default.conf or sitename.conf inside /etc/apache2/sites-enabled/

    <Directory /var/www/html>
        	Options Indexes FollowSymLinks
	        AllowOverride All
        	Require all granted
	</Directory>
    
2. And restart (sudo service apache2 restart)
Posted by: Guest on March-01-2021

Code answers related to "404 page not found codeigniter"

Browse Popular Code Answers by Language