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

Recommended Providers

Fully Managed WordPress Hosting
lc_banner_leadgen_3
Fully Managed WordPress Hosting

WordPress Theme

Divi WordPress Theme
WPZOOM

Forum Membership

Forum Membership

Overwrite 404 redirection using .htaccess

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

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