Skip to content

Instantly share code, notes, and snippets.

@sashas777
Last active July 8, 2019 16:14
Show Gist options
  • Save sashas777/6f6d766b9ae328e686a9792de1473e62 to your computer and use it in GitHub Desktop.
Save sashas777/6f6d766b9ae328e686a9792de1473e62 to your computer and use it in GitHub Desktop.
Magento 2 Admin 404 Not Found Issue
SET FOREIGN_KEY_CHECKS=0;
UPDATE store SET store_id = 0 WHERE code='admin';
UPDATE store_group SET group_id = 0 WHERE name='Default';
UPDATE store_website SET website_id = 0 WHERE code='admin';
UPDATE customer_group SET customer_group_id = 0 WHERE customer_group_code='NOT LOGGED IN';
SET FOREIGN_KEY_CHECKS=1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment