Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorkonitz
    • CommentTimeOct 23rd 2006 edited
     permalink
    hi whats the best technique or something for when I write a bad address in the site appear a error page like Looking for something? .htaccess ... i think that is simple, but a good technique?

    see the example:
    http://www.apple.com/microsoftsucks

    thanks to all, the best.....
    steve
    • CommentAuthoradmin
    • CommentTimeOct 23rd 2006 edited
     permalink
    Some hosts admin panels have some sort of "custom error pages", so you might want to check that.

    However, I'd say the easiest way is using the .htaccess file like so:


    ErrorDocument 400 /errors/400.php
    ErrorDocument 401 /errors/401.php
    ErrorDocument 403 /errors/403.php
    ErrorDocument 404 /errors/404.php
    ErrorDocument 500 /errors/500.php
  1.  permalink
    It depends on a server environment.
    Apache handle it differently then IIS server.

    Exactly what you trying to do?

    Best, DS
    • CommentAuthorkonitz
    • CommentTimeOct 23rd 2006
     permalink
    works simply with ErrorDocument 404 /errors/404.php the .htaccess .... like http://www.apple.com/microsoftsucks

    thanks guys!
Add your comments
    Username Password
  • Format comments as (Help)