John Davidson

php - Magento 2.4 can't access admin url after fresh installation

0 comments
Message:


I have installed Magento 2.4 on the Wamp server. After a lot of work, I was able to load the home page with the default theme. Now the problem is I can't access the admin URL. It is showing a 404 error. Also, all the links on the home page when accessed show a 404 error. When I remove index.php from the URL I can access the page http://localhost/timber-traditions/pub/index.php/customer/account/login/referer/aHR0cDovL2xvY2FsaG9zdC90aW1iZXItdHJhZGl0aW9ucy9wdWIvaW5kZXgucGhwLw%2C%2C/. But admin URL is not accessible.



My Answer:
run on PHP 7.4 and PHP 8.0. It is recommended to use PHP 7.4 for Magento 2.4 as it is the officially supported version. PHP 8.0 is also supported but may require additional testing and compatibility checks with your Magento extensions and custom code.

Rate this post

4 of 5 based on 5272 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us