When installing Magento 2 extensions you can see the Magento connect 404 Error Page Not Found, as Magento 2 Admin Panel (backend) is not working. You can face the issue that Magento 2 admin returns 404 'Page not found' error using NGINX/PHP 7.
If you have no technical skills but need to install an extension today, use our installation service for just $59.
You can see the Magento 404 after install in the following cases:
via the Command line
Type in the next command to your Command line:
php bin/magento cache:clean
rm -rf var/cache/*
rm -rf var/generation/*
rm -rf generated/* (for magento 2.2.x)
When installing a new extension in production mode you may forget to restart the compilation. As a result, the Magento 2 backend is not working.
php bin/magento deploy:mode:show
php bin/magento deploy:mode:set production
to set the mode once again and reset everything from the start.
In some cases admin users can apply an incorrect URL to the Admin panel and get the Magento 2 cannot access admin issue with "not found error". For instance, you can use https://magento.com/backend instead of https://magento.com/admin.
Run the next command to learn a correct URL leading to the Admin Panel:
php bin/magento info:adminuri
Learn more about Magento 2 Admin URL change.
Due to this issue, you may receive such error in the Magento 2 backend as 404 Error or Page not found error.
Go to the Admin Panel> Systems> Permission> User Roles:
In this case the ‘Not Found’ message is displayed on the frontend when you try to access a page.
E.g.: Ubuntu file /etc/apache2/apache2.conf
sudo vi /etc/apache2/apache2.conf
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
sudo service apache2 restart.
According to the statistics, you may find helpfull the following question about magento installation on ubuntu.
Login and Registration Form