I am trying to install Magento 2.4.2 on my windows machine using wamp. Getting 404 error after installed the Magento successfully.
Can anyone please help?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI am trying to install Magento 2.4.2 on my windows machine using wamp. Getting 404 error after installed the Magento successfully.
Can anyone please help?
Option.1
go to below configuration in admin
Stores -> Configurations -> General ->Web -> Search Engine Optimization -> Use Web Server Rewrites
and disable "Use Web Server Rewrites".
Option.2
run below command from ssh
php bin/magento config:set web/seo/use_rewrites 0
php bin/magento cache:clean
if it works for you that mean issue with php rewrite module
hope this helps you :)
Check that your webserver document root folder is set to the magento/pub
folder
e.g. for Apache
DocumentRoot /var/www/magento2/pub/