- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2021
04:15 AM
12-03-2021
04:15 AM
Follow the below steps
1) Refer to the below link:
https://meetanshi.com/blog/install-magento-2-4-2-on-localhost-using-xampp/
2) Now check your .htaccess file or index.php file in the root
3) Pass the below command one by one:
sudo a2enmod rewrite
sudo service apache2 restart
4) Add the below code on /etc/apache2/apache2.conf
<Directory [your path]> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all </Directory>
5) Apply cache using the below commands
rm -rf var/cache/* rm -rf var/generation/*
Also do not forget to clean your varnish cache.
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.
200+ Magento 2 Extensions for Enhanced Shopping Experience.