Lỗi localhost magento product hoang hello.jpg 20404 20 not 20found năm 2024

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Pick a username Email Address Password

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After setting up a new Magento 2 store, you might face the issue of an admin 404 not found error, or any third-party extension can cause your admin login page to be inaccessible with a 404 error page.

You can resolve the 404 not found error page for admin by following the below steps,

Flush and Clear Magento Cache:

You must try to flush and clear the Magento cache by command line or remove folders manually.

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

You can also manually delete the cache and generate a folder inside a var folder.

Check the admin URL from the env.php file:

Navigate to: app/etc/env.php and open that file

Now, locate the admin URL with code like the below,

You can see/change the admin URL from @app/etc/env.php.

return array (

'backend' =>

array (

'frontName' => 'admin_q76xvk',

),

Thus, I hope the above methods help you to fix the Error 404 not found, and if the issue persists, update us here.

Chủ đề