Shares - Chicago Website Design - Problem Mortgage - Repair Bad Credit - Fishing Reels

PDA

View Full Version : How to customize 404 error page ?


veolive
Apr 4th 2008, 11:36 pm
- How to customize the 404 error page?
- How can I use the custmize 404 error page in my website?

Please give me some idea... Thanx !

Dan Schulz
Apr 5th 2008, 12:27 am
Your hosting control panel should have an option to let you select and edit a custom 404.shtml or 404.php file available. You can also use a content publishing system that has a built-in 404 page such as WordPress.

What hosting control panel are you running?

hans
Apr 5th 2008, 12:35 am
the file is normally ( apache ) named
missing.html
and located at root level of your domain - unless your host tells you a different name.

you can edit that custom HTML 404 file like any other file.
I have for example included in that file a search function for site search to enable surfers with a re-search function for missed pages.
since I normally NEVER rename or remove files, most 404 occur as a result of MIS-typing URL or wrong copy/paste of URLs. I have published such possible errors in my custom 404

basically you should keep in mind that someone getting a 404 wanted YOUR site but accessed it by using a invalid link or any other mistake. Hence it would be useful to give an option to search your site or link to a site map etc