cancel
Showing results for 
Search instead for 
Did you mean: 

404 not found for every page and blank homepage

0 Kudos

404 not found for every page and blank homepage

Hello everyone,  

I have installed Magento 2.2.10 with XAMPP in  Windows 10.

After finishing the installation, the homepage didn't show a sample data of a default theme. Next to that every single page shows :

404 Not Found

Not Found

The page you requested was not found, and we have a fine guess why.

  • If you typed the URL directly, please make sure the spelling is correct.
  • If you clicked on a link to get here, the link is outdated.

What can you do?  Have no fear, help is near! There are many ways you can get back on track with Magento Store.

  • Go Back to the previous page.
  • Use the search bar at the top of the page to search for your products.
  • Follow these links to get you back on track!
    Store Home | My Account

 

I have been looking for a solution for 2 days now, after trying many different things none of them worked for me.

 

I hope someone can help me fix this error, via message we can also exchange Skype credentials to make it easier. If you need any more information PM me.

Thank You.

3 Comments
Rahul  Gupta
Valued Contributor

Hi @syed abu _hamza 

 

Please share your skype credentials.

 

Thanks

theMageComp
Trusted Contributor

This is not the right category for the issue but let me give you the answer

You need to run the commands from Shell. Find shell on Xampp control panel.

 

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex

Rahul  Gupta
Valued Contributor

Hi @syed abu _hamza 

 

Try the solution as suggested by @theMageComp  but if it doesn't work then it might be a apache configuration issue.

 

You have to fix certain changes in apache configuration file that i will let you know if it doesn't work.

 

Thanks

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution".