After installing Magento 2, I can't access the administrator page it shows 404 error, see screenshot:
Refer my question here. Steps to solve this.
- You need to
enable module rewrite in server.(If you don't know refer this)
Run in CLI
To deploy content:
php bin/magento setup:static-content:deploy
To flush cache:
php bin/magento cache:flush
To Reindex data:
php bin/magento indexer:reindex
Now check your both frontend and admin.