I have installed magento2.1.7 as a standard installation. And installed with SSl certificate, the frontend is loading but admin is showing 404, we have enabled the .htaccess. Any thoughts for this?

  • Please let us know the URL which you are trying with? Aug 10, 2017 at 6:04
  • have you checked your admin page url is it correct? Check from env.php
    – Priyank
    Aug 10, 2017 at 6:06

2 Answers 2


Magento2 saves current admin panel path in app/etc/env.php.

Please check the admin path under frontName element:

'backend' => 
  array (
    'frontName' => 'admin',

Please use http://<your-website-url>/<frontname-value> to access your website's admin panel.

  • This is also not working dude
    – Niranjan B
    Aug 10, 2017 at 6:41

Open your PHPMyAdmin from your host try once this SQL command.

Run this SQL:

UPDATE core_store SET store_id = 0 WHERE code='admin';
UPDATE core_store_group SET group_id = 0 WHERE name='Default';
UPDATE core_website SET website_id = 0 WHERE code='admin';
UPDATE customer_group SET customer_group_id = 0 WHERE customer_group_code='NOT LOGGED IN';

Source :


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.