Magento 2, Magento2.3

Magento2.3.x Solution for – Object not found! The requested URL was not found on this server

Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.

Error 404
localhost
Apache/2.4.29 (Win32) OpenSSL/1.1.0g PHP/7.2.3″

Getting above issue, once after magento2.3.x installation is done. This issue might be because of apache configuration or wrong/unavailable URL.


To check & fix the issue refer following steps,

1. set the password for root user
2. Check Project folder name is matched with browser URL. (Spell check)
3. Check .htaccess file is there in your root directory of project
4. Replace below script,
Xampp\apache\conf\httpd.conf
Change
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>

To

<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>

Check your document root is having htdocs end with slash? (Ex:”htdocs/”) in apache\conf\httpd.conf file
DocumentRoot “I:/Xampp/htdocs” In my case, i have installed magento with the project name of Magento_2_3_1. But in Database, base URL is set with Magento231. After change the project folder name to Magento231 – it’s start working.

Save Tree !!! Save Water !!!

Leave a Reply