PDA

View Full Version : How do I setup a custom 404 error page?


bheybugarin
06-08-2002, 08:09 AM
How do I setup a custom 404 error page?

Crabby
06-08-2002, 10:04 AM
There is an "error_docs" directory for each virtual host that contains html pages for each of four types of errors, the most often used being "not_found.html" - for the dreaded :twisted: 404 error.

Simply replace that page (or those pages) with whatever you want. Example on some of my simple sites - I just give a choice of returning to the home page or clicking to a search engine (my own, of course :wink: ). Sometimes I just use a blank page with a meta tag "refresh" back to the home page.

Good luck. C'ya,
.

bheybugarin
06-08-2002, 10:57 AM
Crabby. What website do you host in acunett as of now?

Crabby
06-08-2002, 11:38 AM
Just starting to "explore" the Plesk Interface. I have not used it before - just uploaded one page for www.TravelSources.com. (So I haven't uploaded my usual custom error page yet - I just added the word "Sorry" to the existing 404 page to make sure it worked before I responded to your question. :wink: )

I don't have anything "serious" here yet because I have not had time. I am planning to use my account for several small sites related to my business (and maybe give a couple "small spots" to some teacher-friends who are interested in learning).

What are you working on? Here or elsewhere?

addlink
06-09-2002, 11:25 PM
Just login into your account via ftp,go into errordocs,find index.html and made some changes to it.It's an easy job.

hostnuclear
06-11-2002, 04:14 AM
with my error pages I put html in there from my index page with a message saying the page you have tried is not available or you have tried an incorrect URL please use a link to my site from this page.

I did this with one of my sites, is this good practice?

host nuke.

bheybugarin
06-11-2002, 04:40 AM
i saw it to other websites.

i think its effective including in search engines