cancel
Showing results for 
Search instead for 
Did you mean: 

Admin Login is not working

Admin Login is not working

 

Screenshot_2020-05-04 404 Not Found.pngI just made a new installation of magento 2 using composer and sample data.

I was able to make it to store front "http://www.myshop.com" on my local system.

but whenever I tend to access the admin page as "http://www.myshop.com/admin" it throws above page.

 

I tried several solutions like  these

Solution 1  and Solution 2 but neither of them seems to work for me. Please help

 

I am using -:

Magento Version 2.3.4

Nginx , MySQL 5.7 and PHP 7.2

 

3 REPLIES 3

Re: Admin Login is not working

Hi @Techie777 

 

Have you checked the admin path in

app/etc/env.php

?

 

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

Re: Admin Login is not working

Yes . It is /admin

Re: Admin Login is not working

Hi @Techie777 

 

Please check that .htaccess file is there in the root directory of your Magento 2 or not?

 

if it's not there then kindly create .htaccess file in the root directory and add this content https://github.com/emizentech/magento2/blob/master/.htaccess.sample  in the file.

 

Then check!

 

Hope it helps 

 

 

if issue solved,Click Kudos & Accept as Solution