Go Back   HostGator Peer Support Forums > Public Forums > Suggestions

Notices

Reply
 
Thread Tools
  #1  
Old 10-10-2007, 11:02 AM
hilmav hilmav is offline
Hatchling Croc
 
Join Date: Oct 2007
Posts: 5
Default How do I redirect 404 error pages

I want all my error pages directed to one page. How do I do that?
Reply With Quote
  #2  
Old 10-10-2007, 11:04 AM
Sam Sam is offline
Emperor Croc
 
Join Date: Jan 2007
Location: /bin/false
Posts: 3,057
Default Re: How do I redirect 404 error pages

Add:

ErrorDocument 404 /path/to/error/page/404.shtml

in your .htaccess file in public_html folder
Reply With Quote
  #3  
Old 10-12-2007, 10:38 PM
esl's Avatar
esl esl is offline
Emperor Croc
 
Join Date: Jan 2005
Location: Proud to be an American - USA
Posts: 2,232
Default Re: How do I redirect 404 error pages

Please be sure to post in the correct topic next time you need assistance. Thank you.
__________________
Have a great day,
Evan
Reply With Quote
  #4  
Old 10-13-2007, 05:55 AM
Sam Sam is offline
Emperor Croc
 
Join Date: Jan 2007
Location: /bin/false
Posts: 3,057
Default Re: How do I redirect 404 error pages

Quote:
Originally Posted by esl View Post
Please be sure to post in the correct topic next time you need assistance. Thank you.
When he posted that he didnt have access to the other forums as he was Avaiting Activation
Reply With Quote
  #5  
Old 10-13-2007, 07:35 AM
nexia's Avatar
nexia nexia is offline
Baby Croc
 
Join Date: Aug 2005
Location: Quebec city, Ca
Posts: 93
Default Re: How do I redirect 404 error pages

bad, bad... when awaiting members can post suggestions anyway ?!... they are not even members yet and they want to make suggestions on what they do not use yet...

That makes me think of something serious: a guy take a taxi someday.. he liked his ride, but had some points against the way the handbrake was designed... he phone to the car company, and ask to talk to the conceptors... he have some suggestions to make. ... but actually, he never touched the damn handbrakes... he does not know why it is designed that way either...

so that is... DOH!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 10:26 PM.