What to fix if routes are returning 404 in a Laravel project

Although all the file / folder permissions appear to be set appropriately and if you are having issues with the routes, try the following. Enable mod_rewrite on the apache server using the following command sudo a2enmod rewrite Edit /etc/apache2/apache2.conf, changing the “AllowOverride” directive for the /var/www directory (which is my main document root): AllowOverride All Restart