NameSilo

Is my 404 page 'friendly'?

Spaceship Spaceship
Watch
Status
Not open for further replies.

Barrucadu

Established Member
Impact
64
Click this link, and tell me what you think of my 404 page. I got the basic CSS from the Book of Mozilla, but all the content is my own.

Here is what i've included:
  • Sentance explaining what happened, if the user dosn't know what a 404 is.
  • What to do if:
    • The broken link is on yarrt.
    • The broken link is on another site.
  • My email address.
  • Link to all the main pages on the site.

Also, could you look at my 500 (Internal Server Error) page while you're at it? It looks the same, but with different information and instrutions.
 
Last edited:
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
The real deal would be to implement an embedded email form ;) That would be an advanced version of a 404. The idea itself isn't bad at all.

IB
 
0
•••
There is now a contact form on the page
 
0
•••
The yellow text hurts my eyes a little bit but the overall functionality of the 404 page is good. :tu:
 
0
•••
Nice & Plain but looks ok, I doubt anyone will take time to send an email but good idea.
 
0
•••
deet said:
Nice & Plain but looks ok, I doubt anyone will take time to send an email but good idea.
I realised that so all errors are recorded. I just thought it would be a nice experiment to see if anyone does care enough to send me an email.
 
0
•••
Here's a good error recording script.

PHP:
<?php
    $agent = $_SERVER['HTTP_USER_AGENT'];
    $uri = $_SERVER['REQUEST_URI'];
    $user = $_SERVER['PHP_AUTH_USER'];
    $ip = $_SERVER['REMOTE_ADDR'];
    $ref = $_SERVER['HTTP_REFERER'];
    $dtime = date('r');
    
    if($ref == ""){
        $ref = "None";
    }
   
    $entry_line = "Error at $uri --- $dtime - IP: $ip | Agent: $agent  | URL: $uri | Referrer: $ref | \n";
    $fp = fopen("errors.txt", "a");
    fputs($fp, $entry_line);
    fclose($fp);    
?>

Create errors.txt and CHMOD to 777
 
0
•••
Heres what i'm using:
PHP:
ob_start();

echo "Server:";
print_r($_SERVER);

echo "\r\nGet:";
print_r($_GET);

echo "\r\nPost:";
print_r($_POST);

$error = ob_get_clean();
$db->err($_GET['e'], date("r"), $error);

$db->err stores the error code, date and information (the contents of $_SERVER, $_POST, $_GET) in my database for me to look at later.
 
0
•••
I'd say possibly centering the contact form to make it look a little more neat cause at the minute it appears as if it's a bit 'messy' (i dont know if thats the right word to use).
 
0
•••
TBH I'm more comfortable with the 'error: 404 & 500' words on the left-hand side of the page, but that's just me!

I'm also a little bothered by the fancy font, if I reached your 404 or 500 error page at first glance I'd probably feel they weren't error pages (they're too friendly-looking :)! Also if you have to use yellow in the title, perhaps you could try them in bold letters to see if they're clearer (or perhaps a darker shade of yellow?).
 
0
•••
Status
Not open for further replies.

We're social

Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back