404 error pages are a necessary, but unpopular fact of life for most sites.
Every website needs a 404 page, just in case people use broken links to access your site.
But, what if you could make your 404 page useful? What if it could serve a larger purpose than simply redirecting your visitors?
That’s the idea behind http://notfound.org. Not Found will still show your 404 page, but they’ll also show the name, picture and important details about missing people.
How does NotFound.org work?
- Go to http://notfound.org.
- Choose your country.
- Press the button: “Yes, I’ll make better use of my 404-page”
- Type in your website URL.
- Press the “Next” button
- Copy the embed code.
Integration with your site
In this example we’ll show you how to integrate NotFound.org with a Joomla template but the process will be very similar for WordPress or Drupal.
Using an FTP client, like Filezilla browse the files of your Joomla template.
- Go to templates/yourtemplate/error.php.
- Right click >> View/Edit.
The file will be opened with a code editor like Notepad, DreamWeaver or Notepad++.
Paste the embed code taken from NotFound.org:
Save the changes of your file (Ctrl + S) and return to your Filezilla window >> Press “Yes” button to upload the file updated
This is a website using the default Joomla error page:
This is an example of a 404 page using NotFound.org: