Skip to content

htaccess error templates, HTML error templates, Server error templates, PHP Error templates, Website error templates, This is the most beautiful and simplest error template ever :)

Notifications You must be signed in to change notification settings

noncent/simple-error-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🔗 Simple Error Templates 🔗

Here you can find World most beautiful error templates, you can upload on your server and can set custom error templates by using htaccess: Here is the htaccess code to use custom error templates

ErrorDocument 400     /400.html
ErrorDocument 401     /401.html
ErrorDocument 403     /403.html
ErrorDocument 404     /404.html
ErrorDocument 500     /500.html

📑 Template - 404

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Ouch! - 404</title>
    <style type="text/css">
    h1.error {
        left: 0;
        line-height: 200px;
        margin-top: -100px;
        position: absolute;
        text-align: center;
        top: 50%;
        width: 100%;
        font-size: 15em;
        color: #dadada;
        -webkit-text-fill-color: #dadada;
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: black;
    }
    </style>
</head>

<body>
    <h1 class="error">404</h1> </body>

</html>

404


📑 Template - 403

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Ouch! - 403</title>
    <style type="text/css">
    h1.error {
        left: 0;
        line-height: 200px;
        margin-top: -100px;
        position: absolute;
        text-align: center;
        top: 50%;
        width: 100%;
        font-size: 15em;
        color: #dadada;
        -webkit-text-fill-color: #dadada;
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: black;
    }
    </style>
</head>

<body>
    <h1 class="error">403</h1> </body>

</html>

403


📑 Template - 500

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Ouch! - 500</title>
    <style type="text/css">
    h1.error {
        left: 0;
        line-height: 200px;
        margin-top: -100px;
        position: absolute;
        text-align: center;
        top: 50%;
        width: 100%;
        font-size: 15em;
        color: #dadada;
        -webkit-text-fill-color: #dadada;
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: black;
    }
    </style>
</head>

<body>
    <h1 class="error">500</h1> </body>

</html>

500

Thank you all! :)

About

htaccess error templates, HTML error templates, Server error templates, PHP Error templates, Website error templates, This is the most beautiful and simplest error template ever :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published