Shopping cart

Magento 2 404 Error Page Not Found in Admin

magento-2-tutorial
404
not-found
error
Magento 2 404 Error Page Not Found in Admin

After Installing Magento 2 Extensions, you may get errors Magento 2 404 Error Page Not Found. No worries, that is because of the permission in your current session. Let’s follow this guide, we will show you how to resolve 404 Error Page Not Found step by step.

4 problems why Magento 2 404 Error Page Not Found in Admin

Here are 4 reasons why you get a 404 Error Page Not Found in the backend, follow this article to learn how to deal with the issue of each case.

Problem 1: After installing/upgrading

You may get the error in cases of:

  • After installing a new extension
  • After upgrading extensions
  • After applying patch of Magento core or extensions.

Solution:

Flush Magento Cache with command line:

php bin/magento cache:clean
rm -rf var/cache/*
rm -rf var/generation/*

Read How to flush Magento 2 cache for more details.

  • Flush cache in Admin: Admin > Systems > Cache Management
  • Log out then login again

Case: 404 Error Page not found error on extension admin route update Installing SUPEE - 6788

Try to contact with the extension provider for more details.

Problem 2: Fresh Install On Ubuntu/Centos/Debian

Description: After installation, it show this error

magento 2 404 error after install

Why?

It’s because your server does not enable rewrite mode.

Solution

  1. Enable Rewrite mode
sudo a2enmod rewrite
  1. Configure apache

For Ubuntu / Debian edit the file /etc/apache2/apache2.conf. To edit this file run command

sudo vi /etc/apache2/apache2.conf 

Modify from:

<Directory /var/www/>
     Options Indexes FollowSymLinks
     AllowOverride None
     Require all granted
</Directory>

to

<Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>

Then restart apache

sudo service apache2 restart

or

sudo /etc/init.d/apache2 restart

Problem 3: Page 403 Forbidden errors

If you are experence with 403 Forbidden errors while accessing to Magento store, you should update Apache configuration to allow visitors access to your site.

Solution

  • Open apache2.conf file
  • For Ubuntu, the file /etc/apache2/apache2.conf. To edit this file run command
sudo vi /etc/apache2/apache2.conf 

Update like this:

<Directory /var/www/>
	Options Indexes FollowSymLinks MultiViews
	AllowOverride All
	Order allow,deny
	Allow from all
</Directory>

Problem 4: Messy page, no style

Messy page, no style

Why?

There are 2 cases:

  • You server does not enable rewrite mode, try this solution
  • Deploy static content: follow the below solution.

Solution

It is because the static content is not generated to pub/ folder. Let’s run this command to deploy it. Please try to run the following command:

php bin/magento setup:static-content:deploy

It comes to the end of tutorial: Magento 2 404 Error Page Not Found in Admin.

Please leave comments if you have any questions, feedbacks.

Comments for Magento 2 404 Error Page Not Found in Admin

You also may like these Magento 2 Extensions

One Step Checkout

$199
97 reviews

SEO Ultimate

$299
32 reviews

Layered Navigation

$99
53 reviews

Gift Card

$199
6 reviews

Reward Points

$149
4 reviews

Affiliate

$149
12 reviews

People also searched for:

  • Magento 2 404 Error
  • 404 error page not found for magento 2
  • 404 error page not found
  • magento 2 404 error after installing extension
  • magento 2 404 error all pages
  • magento 2 404 error admin
  • magento 2 404 error
  • magento 2 admin module 404 error
  • magento 2 404 error extension
  • magento 2 error 404 not found
  • magento 2 404 error log
  • magento 2 login 404 error
  • magento 2 settings 404 error
  • magento 2 theme 404 error