> [!INFO]
> **Website**: [The S Group](https://www.sashas.org/)
> **Author**: Alexander Lukyanov
> **Published**: 2017-01-24
> **Summary**: Learn how to fix the 404 error that occurs when trying to access the Adobe Commerce admin panel. This article provides step-by-step instructions on how to update the store ID in the Adobe Commerce database to match the URL you're using to access the admin panel. The article also provides additional troubleshooting steps that you can try if you're still getting a 404 error after following the steps above.

# Adobe Commerce Admin Url Not Found (404)

 ![Adobe Commerce Admin Url Not Found (404) - Adobe Commerce Technical Guide Guide](https://www.sashas.org/images/blog/img-magento-2-admin-url-not-found-404.html-i.0.png)

 If you're trying to access the Adobe Commerce admin panel and you're getting a 404 error, don't worry - you're not alone. This is a common issue that can be fixed by following a few simple steps.

 ## What causes the 404 error?

 The 404 error is caused by a mismatch between the store ID in the Adobe Commerce database and the URL you're using to access the admin panel. This can happen if you've recently migrated your Adobe Commerce database to a new server or if you've made changes to your store configuration.

 ## How to fix the 404 error

 To fix the 404 error, you need to update the store ID in the Adobe Commerce database to match the URL you're using to access the admin panel. You can do this by following these steps:

  - Log in to your MySQL database.
 - Run the following SQL query:

   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;    - Save your changes and exit MySQL.
 - Clear the Adobe Commerce cache.

 Once you've completed these steps, you should be able to access the Adobe Commerce admin panel without any problems.

 ## Additional troubleshooting steps

 If you're still getting a 404 error after following the steps above, you can try the following troubleshooting steps:

   1. Check URL Spelling
Verify that the spelling of the URL you're using to access the admin panel matches your configuration exactly.   2. Verify IP and Domain
Make sure that you're using the correct IP address or domain name for your Adobe Commerce website.   3. Try a Different Browser
Attempt to access the admin panel from a different web browser to rule out local caching issues.   4. Contact Support
If you're still experiencing issues, contact Adobe Commerce support for technical assistance.   I hope this helps!

## Frequently Asked Questions

### What causes the 404 error?

The 404 error is caused by a mismatch between the store ID in the Adobe Commerce database and the URL you're using to access the admin panel. This can happen if you've recently migrated your Adobe Commerce database to a new server or if you've made changes to your store configuration.

### How to fix the 404 error

To fix the 404 error, you need to update the store ID in the Adobe Commerce database to match the URL you're using to access the admin panel. You can do this by following these steps: Log in to your MySQL database. Run the following SQL query: SET FOREIGN_KEY_CHECKS=0; UPDATE store SET store_id = 0 

### Additional troubleshooting steps

If you're still getting a 404 error after following the steps above, you can try the following troubleshooting steps: 1. Check URL Spelling Verify that the spelling of the URL you're using to access the admin panel matches your configuration exactly. 2. Verify IP and Domain Make sure that you're usi



## Navigation & Categories
- [Experience](https://www.sashas.org/customer-experience.html)
  - [Catalog Enhancements](https://www.sashas.org/customer-experience/catalog-enhancements.html)
  - [Cart & Checkout](https://www.sashas.org/customer-experience/cart-checkout.html)
  - [Customers](https://www.sashas.org/customer-experience/customers.html)
  - [Shipping](https://www.sashas.org/customer-experience/shipping.html)
  - [Payments](https://www.sashas.org/customer-experience/payments.html)
- [Management](https://www.sashas.org/site-management.html)
  - [Sales & Fulfillment](https://www.sashas.org/site-management/sales-fulfillment.html)
  - [Catalog](https://www.sashas.org/site-management/catalog.html)
  - [Customer Support](https://www.sashas.org/site-management/customer-support.html)
  - [Marketing & Promotions](https://www.sashas.org/site-management/marketing-promotions.html)
  - [Content Management](https://www.sashas.org/site-management/content-management.html)
  - [Reporting & Analytics](https://www.sashas.org/site-management/reporting-analytics.html)
- [Optimization](https://www.sashas.org/optimization.html)
  - [Performance](https://www.sashas.org/optimization/performance.html)
  - [Monitoring](https://www.sashas.org/optimization/monitoring.html)
  - [Troubleshooting & Debugging](https://www.sashas.org/optimization/troubleshooting-debugging.html)
- [Blog](https://www.sashas.org/blog)
- [About Us](https://www.sashas.org/about-us.html)
- [Contact Us](https://www.sashas.org/contact.html)
- [Privacy Policy](https://www.sashas.org/privacy-and-refund-policy.html)
- [Refund Policy](https://www.sashas.org/refund-policy.html)
