Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

By Hardik Savani | February 1, 2016 | | 31235 Viewer | Category : .htaccess


Some time when you are open any link your website then browser display following massage

Not Found

The requested URL /test.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

this problem fix by .htaccess

write following code in your .htaccess file

RewriteEngine on

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]



Hardik Savani
My name is Hardik Savani. I'm a full-stack developer, entrepreneur and owner of Aatman Infotech. I live in India and I love to write tutorials and tips that can help to other artisan. I am a big fan of PHP, Javascript, JQuery, Laravel, Codeigniter, VueJS, AngularJS and Bootstrap from the early stage.
Follow Me: Github Twitter
***Do you want me hire for your Project Work? Then Contact US.