Jump to content

404 Error Pages


kscearce
 Share

Recommended Posts

Ok, I'm not having a good life here :) (don't ask - the story's too boring)...anyway, I thought I would play with trying to get my Error pages working so that if someone visits my website and gets that lovely error, they can click on my header and go back to my home page.

 

I use Front Page and I've tried editing the htaccess file. Does it matter where I put the code lines in file? I've followed all the great tips in the forum topics and the help topics, but there's something I'm not doing right! GRRR I've tried using the following - I couldn't get any of them to work when I typed in a nonexistent page in the URL box.

 

ErrorDocument 400 /www.monicaburns.com/errors/400.htm

ErrorDocument 400 /www/errors/400.htm

ErrorDocument 400 http://www.monicaburns.com/errors/400.htm

 

Anyone have any suggestions for the code-challenged?? Monica

 

Here's what the code looks like in my htaccess file.

 

 

# -FrontPage-

 

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

SecFilterEngine Off

<Limit GET POST>

order deny,allow

deny from all

allow from all

</Limit>

<Limit PUT DELETE>

order deny,allow

deny from all

</Limit>

AuthName www.monicaburns.com

AuthUserFile /home/elysseq/public_html/_vti_pvt/service.pwd

AuthGroupFile /home/elysseq/public_html/_vti_pvt/service.grp

ErrorDocument 400 /www.monicaburns.com/errors/400.htm

ErrorDocument 401 /www.monicaburns.com/errors/401.htm

ErrorDocument 403 /www.monicaburns.com/errors/403.htm

ErrorDocument 404 /www.monicaburns.com/errors/404.htm

ErrorDocument 500 /www.monicaburns.com/errors/500.htm

Link to comment
Share on other sites

Don't forget, the size of your error pages needs to be 512k for IE to be able to display them instead of the normal error pages.

 

 

Ahhh, this might be the problem. The error files are in the right place, they're just not showing up. I guess I need to add more content on the error pages as the largest one of the is only 6K. Thanks!! I'll be back if I have more trouble. Thanks GUYS!! You're the best!!

 

:( Monica

Link to comment
Share on other sites

If your site has some major divisions or major destination pages, you could provide an "index" with (fully resolved) links to those pages, in addition to the link back to the "home" page.

 

This would help fill up the custom error page and get you up over the Internet-Explorer size limit, as well as making the error page more helpful for your users.

 

Eliz.

Link to comment
Share on other sites

Ahhh, this might be the problem. The error files are in the right place, they're just not showing up. I guess I need to add more content on the error pages as the largest one of the is only 6K. Thanks!! I'll be back if I have more trouble. Thanks GUYS!! You're the best!!

 

:) Monica

I believe the error pages have to be larger than 512 bytes, not kb.

 

-Steven

Link to comment
Share on other sites

  • 3 months later...

How exactly does Error pages thing works?

 

I'm a bit confused

 

 

for an example if i have www.windowsvista2006.net/music.html

 

and then i delete music.html then i should setup an Error page for it to inform people that page doesnt exist anymore?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...