A fresh install Magento2.1, but there is "404 not found" error on every page except
index.php and in backend.
index.php page's layout is a mess.
Any advice would be appreciated.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
I had these problem in ubuntu. You may try out these steps.
For front end
Move to directory install magento2. Use command in terminal:
php bin/magento setup:static-content:deploy.
For admin side:
<Directory "/var/www/html"> AllowOverride all </Directory>`
was not present in the end of file /etc/apache2/sites-available/000-default.conf before
</VirtualHost>. Also make sure that mod_rewrite is enable by entering command: