• Welcome to Web Hosting Community Forum for Webmasters - Web hosting Forum.
 

404 redirection using .htaccess

Started by Kevin, August 21, 2008, 06:49:08 PM

Kevin

You can set 404 redirection using .htaccess file. You just need to add the following link in your .htaccess file:

ErrorDocument 404 /404.html

Replace 404.html with actual file name where you would like to redirect when page can not be found.

Kevin