We know some time when we are open any link on our website we then browser are display following massage
Not Found
When the requested URL /test.html was not found on this server.
We know additionally, a 404 Not Found an error was encountered while it will trying to use an ErrorDocument to handle the request. On this problem fix by .htaccess
Now need to write following code in your .htaccess file
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Read Also : How to Open Link in New Window by using Javascript ?
Thanks for read. I hope it help you. For more you can follow us on facebook.