malform
03-22-2003, 06:31 PM
I am tired of the same old 404"This Page is not Available"screen so I made my own. How do I get the Explorer to pull up my page instead of the default 404, when I'm online and get a bad link?
|
||||
Custom 404 Page not Available screenmalform 03-22-2003, 06:31 PM I am tired of the same old 404"This Page is not Available"screen so I made my own. How do I get the Explorer to pull up my page instead of the default 404, when I'm online and get a bad link? wontgetlost 03-22-2003, 08:11 PM Create the page you would like to have come up first, name it 404.htm and then place it in your root directory (where your index file is located). Next, create an .htaccess file using notepad with the line: ErrorDocument 404 /404.htm When you name it, name it with the extention only ( .htaccess ) and save it as "all files" not as a text file or a word file. Place this file in your root directory as well. That should do it :) Here's a good thread to read: http://www.codingforums.com/showthread.php?s=&threadid=13487&highlight=htaccess Here's a good tutorial to read: http://javascriptkit.com/howto/htaccess2.shtml cg9com 03-22-2003, 09:45 PM malform, do you mean on your own web site? or do you mean, just your own for personal browsing. malform 03-23-2003, 04:35 AM This 404 "Page not Available" is for my own personal browsing. I don't have a web site. The help given was a little over my head. I don't know programming outside of HTML. I make Desktop Themes and I thought this would top off a good theme. I have already made the HTML for my custom 404. It simply displays a JPEG image I created with Paint Shop: <HTML> <HEAD> </HEAD> <BODY bgcolor="black"> <center> <img src="my404.jpg"> </BODY> </HTML> Spookster 03-23-2003, 05:21 AM Originally posted by malform This 404 "Page not Available" is for my own personal browsing. I don't have a web site. The help given was a little over my head. I don't know programming outside of HTML. I make Desktop Themes and I thought this would top off a good theme. I have already made the HTML for my custom 404. It simply displays a JPEG image I created with Paint Shop: <HTML> <HEAD> </HEAD> <BODY bgcolor="black"> <center> <img src="my404.jpg"> </BODY> </HTML> I don't believe there is any way of doing that, at least there are not options to do that via the browser. malform 03-30-2003, 04:50 AM If I knew the name of the file that is the windows 404 webpage, couldn't I locate it and replace it with my file, using the same filename? oracleguy 03-30-2003, 05:08 AM I believe its stored inside a DLL thats in the windows directory. cg9com 03-30-2003, 06:31 AM like: C:\WINDOWS\SYSTEM\SHDOCLC.DLL/http_404.htm#website would be here mattover-matter 03-30-2003, 07:38 AM just open it with mpqviewer and extract then edit, import. I advise you not do this unless you are REALLY skilled. :D malform 03-30-2003, 06:11 PM If someone wrote a program that would do this for you, they could probably sell it on the 'net. Maybe it could be attached to Desktop Themes somehow? meow 03-30-2003, 06:47 PM I think someone did. :D http://w1.181.telia.com/~u18109800/shdoc.gif cg9com 03-30-2003, 08:53 PM bah! i wasnt going to mention THAT program :D meow 03-30-2003, 08:57 PM I've only dared to use it to change program icons and such. :D |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum