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

Recommended Providers



WordPress Hosting

Jetpack
Fully Managed WordPress Hosting
lc_banner_leadgen_3
Fully Managed WordPress Hosting

WordPress

WordPress Hosting Divi WordPress Theme
WPZOOM
Bluehost WordPress Hosting

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


WordPress Hosting