cancel
Showing results for 
Search instead for 
Did you mean: 

404 not found - all pages

404 not found - all pages

Hi

I cloned my website (Magento 2.3.3) for local server and frontend not working.  Backend is OK.

When I clicked any link (on front) i have an error:

 

Whoops, our bad...
 
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.

... 

Please help.

I try this solution and other:  https://community.magento.com/t5/Magento-2-x-Technical-Issues/Error-404-on-all-pages-after-installat...

, but it still does not work :/ 

 

Thanks

 

5 REPLIES 5

Re: 404 not found - all pages

@dachu100 try to add index.php in the url like http://example.com/index.php 

 

Thanks

Re: 404 not found - all pages

still the same ,

I have url: 

http://localhost/mage/index.php

and when I refresh page - index.php is cut from the url ,,,

I have multistore if it matters,,,

 

in my .htaccess file I have line:   RewriteBase /mage/

 

 

 

 

Re: 404 not found - all pages

@dachu100 

can you share me the screenshot of the store->configuration->general->web

Re: 404 not found - all pages

Hello @dachu100 

 

Do you have set homepage for each store view /website.

Sometimes it's 404 page selected and cause such issue.

 

Do you have store code in URL is enabled. If yes then you need to open the frontend with store code URLs. Like domain.com/en

 

Do you have setup  multi website correctly? Properly added code in index.php and .htaccess

 

Also take a look at 

https://community.magento.com/t5/Magento-2-x-Admin-Configuration/Magento-2-Multi-website-single-doma...

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: 404 not found - all pages

I solved it.

 

Stores > Configuration > Web : 

Url Options: Auto-redirect to Base Url - YES
Search Engine Optimization - YES

 

thanks