D dzung042 New member Joined Jan 13, 2016 Messages 4 Jan 13, 2016 #1 I have server install directadmin apache + nginx, but I want to redirect all 404 link to home page I just add follow word in .htaccess ErrorDocument 404 /index.php but all can not auto redirect to homepage please tell me fix error
I have server install directadmin apache + nginx, but I want to redirect all 404 link to home page I just add follow word in .htaccess ErrorDocument 404 /index.php but all can not auto redirect to homepage please tell me fix error
zEitEr Super Moderator Joined Apr 11, 2005 Messages 15,724 Location www.poralix.com Jan 14, 2016 #2 Hello, That should work. If it does not then either you probably use wrong .htaccess file or behavior is redefined by mod_rewrite.
Hello, That should work. If it does not then either you probably use wrong .htaccess file or behavior is redefined by mod_rewrite.