controller showing 404 error codeigniter code example
Example: 404 page not found codeigniter
#Ubuntu 18.04
1.Add this in 000-default.conf or sitename.conf inside /etc/apache2/sites-enabled/
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
2. And restart (sudo service apache2 restart)