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

Overwrite 404 redirection using .htaccess

Started by Alex, December 28, 2008, 04:02:49 PM

WordPress Premium Themes


Alex

Hi,

I have one domain hosted on the shared server and when there is 404 error occurred it displays my host's custom 404 page. Is is possible to overwrite the default 404 page using .htaccess ? if yes then how ?

Thanks,

Alex

Kailash

#1
Just add the following in your .htaccess:

ErrorDocument 404 /404.html

Ref: 404 redirection using .htaccess

Kailash

WordPress Premium Themes