I have tried many solutions which are given in Stack Overflow and it's not working anymore. My Magento version is 1.5. Why am I getting this issue after I tried all the solution for admin?
Magento admin login page showing "whoops our bad" (404 error )
2.3k Views Asked by AMAN SHARMA At
4
There are 4 best solutions below
0
On
For Ubuntu edit the file /etc/apache2/apache2.conf
To edit this file use sudo vi /etc/apache2/apache2.conf command
<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>
After this run command
sudo service apache2 restart
IF STILL ADMIN SHOW 404 NOT FOUND, Add htaccess file
1) Add .htaccess at root of magento
make sure that you have used index.php in url before admin route name.This is needed if url rewrites are enabled.