Divi WordPress Theme

Overwrite 404 redirection using .htaccess

Topic: Overwrite 404 redirection using .htaccess  (Read 5724 times)

Offline Alex

  • New Member
  • *
  • Posts: 31
  • iTrader: +0/-0
    • View Profile
Overwrite 404 redirection using .htaccess
« on: December 28, 2008, 04:02:49 PM »
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
VPS Hosting - AccuWebHosting

Offline Kailash

  • Web Hosting Master
  • *****
  • Administrator
  • Posts: 655
  • iTrader: +153/-0
    • View Profile
Re: Overwrite 404 redirection using .htaccess
« Reply #1 on: December 30, 2008, 09:57:32 AM »
Just add the following in your .htaccess:

ErrorDocument 404 /404.html

Ref: 404 redirection using .htaccess

Kailash
« Last Edit: November 07, 2009, 10:52:07 AM by Kailash »
Shopify Divi WordPress Theme
Tags:

SpamExperts cPanel Plugin – Arbitrary File Overwrite

Started by KailashBoard Vulnerabilities

Replies: 0
Views: 1913
Last post July 03, 2014, 11:46:43 AM
by Kailash