install Magento 2.1 Error 404 after success installation
-
30-09-2020 - |
Question
Installation from the download Page and the right ownership from there
Ubuntu 16.04
PHP 7.0.8
MySQL 5.7.12
Apache 2.4.18 with configured VirtualHost
And after installation I see the success page.
Then:
admin page: 404
The frontend has some resource 404s:
After a setup:di:compile
some resource 404s are gone. But admin page are still 404.
What can I do?
Solution
Looks like your Magento application was switched to production mode, that's why static files are not accessible.
There are two solutions:
- Deploy static files: bin/magento setup:static-content:deploy
- Switch to developer mode: bin/magento deploy:mode:set developer
As for 404 for admin panel - make sure you are using correct admin path (can be found in app/etc/env.php)
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange