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

By Hardik Savani April 29, 2022 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]

Tags :

We are Recommending you