cancel
Showing results for 
Search instead for 
Did you mean: 

Error 404 not found

Error 404 not found

I download magento 2 and extract it in xampp/ htdocs/ magento.

I created a database using phpmyadmin.

But when I open my browser and write localhost/magento it shown error 404 not found.

 

2 REPLIES 2

Re: Error 404 not found

Hi @rizwan023719db,

 

After downloading and unzipping in the directory have you done the commands to install Magento?

 

If you have done all the settings and still have the same error you can refer to this article for more information. 

 

Hope this can help you! Let me know if you need further assistance.

__________

If issue solved, Click Kudos & Accept as Solution

Marcus | LitExtension Expert
https://litextension.com/

Re: Error 404 not found

Hello   

For Linux 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, FOLLOW THIS STEP

1) Add .htaccess at root of magento 2

https://github.com/magento/magento2/blob/2.3-develop/.htaccess

2) Now run this command

php bin/magento setup:upgrade

php bin/magento setup:static-content:deploy

rm -rf var/cache/*

rm -rf var/generation/*

@rizwan023719db