SlideShare a Scribd company logo
1 of 19
Creating a Custom 404 Error Page
Every web surfer has encountered the dreaded 404 page
               not found error message.
The generic error page is horrible to look at and it does
not encourage web visitors to explore more of your site.
Imagine being able to setup a custom error message page
 that looked good, told the visitor what had gone wrong
   and then suggested some alternative links to other
locations on your site, such as the home page, sitemap or
                   even a search page.
If the visitor wanted to, they could then visit other parts of
                           your site.
It is very easy to setup a custom 404 error page (The 404
    error is the error number returned when a page or
             directory is not found on your site).
The easiest way to redirect visitors that encounter a 404 is
 to either send them to your sites home page or to your
                      sitemap page
We do this by placing a one line of code in your websites
                      .htaccess file
ErrorDocument 404 /sitemap.html
This would redirect all 404 error messages to the sitemap
                           page.
The path to the page you want to display, must already
exist on your web server, otherwise the web server will tie
              itself up in a never ending loop.
To make a custom error page, simply create a page using
 your favorite webpage editor such as MS FrontPage or
DreamWeaver. The page can contain anything you wish,
such as images, links etc. Save the file as something easy
         to remember (such as 404errors.html)
This would now mean that your .htaccess command line
                would now look like:
ErrorDocument 404 /error/404errors.html
Now whenever a 404 error was generated on your site,
your custom error page will be displayed, and keep your
                  web visitors happy.
In the upcoming article, I will expand on this idea, and
 show you how to you can receive an email notification
that a 404 error has occurred on your site. It will tell you
what caused the error, and the offending page. Allowing
  you to try and fix all broken links leading to your site.
Please visit:
http://earnextramoneyonlinemethods.info/form.php?id=
                        12660
                    for more info

More Related Content

What's hot

Web design save earth
Web design save earthWeb design save earth
Web design save earthMax Friel
 
Marketing 450 Guest Lecture
Marketing 450 Guest LectureMarketing 450 Guest Lecture
Marketing 450 Guest LectureNathan Smith
 
Optimizing WordPress sites for SEO and social media by Miriam Schwab
Optimizing WordPress sites for SEO and social media by Miriam SchwabOptimizing WordPress sites for SEO and social media by Miriam Schwab
Optimizing WordPress sites for SEO and social media by Miriam SchwabMiriam Schwab
 
Click and Create Sales Presentation
Click and Create Sales PresentationClick and Create Sales Presentation
Click and Create Sales Presentationcmevans2
 
The business cornerstone
The business cornerstoneThe business cornerstone
The business cornerstonePaul Wallbank
 
Tablepress - WordPress plugin on inserting Tables
Tablepress - WordPress plugin on inserting TablesTablepress - WordPress plugin on inserting Tables
Tablepress - WordPress plugin on inserting TablesThomas Carney
 

What's hot (7)

Web design save earth
Web design save earthWeb design save earth
Web design save earth
 
Marketing 450 Guest Lecture
Marketing 450 Guest LectureMarketing 450 Guest Lecture
Marketing 450 Guest Lecture
 
Optimizing WordPress sites for SEO and social media by Miriam Schwab
Optimizing WordPress sites for SEO and social media by Miriam SchwabOptimizing WordPress sites for SEO and social media by Miriam Schwab
Optimizing WordPress sites for SEO and social media by Miriam Schwab
 
Riding Rails 4
Riding Rails 4Riding Rails 4
Riding Rails 4
 
Click and Create Sales Presentation
Click and Create Sales PresentationClick and Create Sales Presentation
Click and Create Sales Presentation
 
The business cornerstone
The business cornerstoneThe business cornerstone
The business cornerstone
 
Tablepress - WordPress plugin on inserting Tables
Tablepress - WordPress plugin on inserting TablesTablepress - WordPress plugin on inserting Tables
Tablepress - WordPress plugin on inserting Tables
 

Similar to Creating a Custom 404 Error Page

How to fix error 404 not found on word press
How to fix error 404 not found on word pressHow to fix error 404 not found on word press
How to fix error 404 not found on word pressAnny Rathore
 
How to Fix Error 404 in Wordpress
How to Fix Error 404 in WordpressHow to Fix Error 404 in Wordpress
How to Fix Error 404 in WordpressAnny Rathore
 
4 steps to make a custom 404 error page
4 steps to make a custom 404 error page4 steps to make a custom 404 error page
4 steps to make a custom 404 error pageTop Left Design
 
What is 404 error and its solutions?
What is 404 error and its solutions?What is 404 error and its solutions?
What is 404 error and its solutions?SoftProdigy Solutions
 
how to optimize your 404 error page - Helen Innes
how to optimize your 404 error page - Helen Inneshow to optimize your 404 error page - Helen Innes
how to optimize your 404 error page - Helen InnesHelen Innes
 
9 Most Common HTTP Errors Explained
 9 Most Common HTTP Errors Explained 9 Most Common HTTP Errors Explained
9 Most Common HTTP Errors ExplainedAmit Kute
 
Comparative Development Methodologies
Comparative Development MethodologiesComparative Development Methodologies
Comparative Development Methodologieselliando dias
 
7 steps to make a word press website
7 steps to make a word press website7 steps to make a word press website
7 steps to make a word press websiteYiliaQin
 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPressHarshad Mane
 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPressHarshad Mane
 
Wordpress Optimization Settings
Wordpress Optimization Settings Wordpress Optimization Settings
Wordpress Optimization Settings webhostingguy
 
Debugging wordpress
Debugging wordpress Debugging wordpress
Debugging wordpress Steve Collins
 
Revealing Essential Components For wordpress
Revealing Essential Components For wordpressRevealing Essential Components For wordpress
Revealing Essential Components For wordpressrambunctiousski28
 
Iaq medics seo audit
Iaq medics seo auditIaq medics seo audit
Iaq medics seo auditJohn Shea
 
Inbound Marketing Agency India | ISHAN-Tech
Inbound Marketing Agency India  | ISHAN-TechInbound Marketing Agency India  | ISHAN-Tech
Inbound Marketing Agency India | ISHAN-TechIshan Mishra
 
Web publishing
Web publishingWeb publishing
Web publishingKanav Sood
 

Similar to Creating a Custom 404 Error Page (20)

How to fix error 404 not found on word press
How to fix error 404 not found on word pressHow to fix error 404 not found on word press
How to fix error 404 not found on word press
 
How to Fix Error 404 in Wordpress
How to Fix Error 404 in WordpressHow to Fix Error 404 in Wordpress
How to Fix Error 404 in Wordpress
 
4 steps to make a custom 404 error page
4 steps to make a custom 404 error page4 steps to make a custom 404 error page
4 steps to make a custom 404 error page
 
404 error page
404 error page404 error page
404 error page
 
What is 404 error and its solutions?
What is 404 error and its solutions?What is 404 error and its solutions?
What is 404 error and its solutions?
 
how to optimize your 404 error page - Helen Innes
how to optimize your 404 error page - Helen Inneshow to optimize your 404 error page - Helen Innes
how to optimize your 404 error page - Helen Innes
 
9 Most Common HTTP Errors Explained
 9 Most Common HTTP Errors Explained 9 Most Common HTTP Errors Explained
9 Most Common HTTP Errors Explained
 
Comparative Development Methodologies
Comparative Development MethodologiesComparative Development Methodologies
Comparative Development Methodologies
 
7 steps to make a word press website
7 steps to make a word press website7 steps to make a word press website
7 steps to make a word press website
 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPress
 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPress
 
Wordpress Optimization Settings
Wordpress Optimization Settings Wordpress Optimization Settings
Wordpress Optimization Settings
 
Debugging wordpress
Debugging wordpress Debugging wordpress
Debugging wordpress
 
Revealing Essential Components For wordpress
Revealing Essential Components For wordpressRevealing Essential Components For wordpress
Revealing Essential Components For wordpress
 
Iaq medics seo audit
Iaq medics seo auditIaq medics seo audit
Iaq medics seo audit
 
Zinavo
ZinavoZinavo
Zinavo
 
Inbound Marketing Agency India | ISHAN-Tech
Inbound Marketing Agency India  | ISHAN-TechInbound Marketing Agency India  | ISHAN-Tech
Inbound Marketing Agency India | ISHAN-Tech
 
Blog profits
Blog profitsBlog profits
Blog profits
 
Blog profits
Blog profitsBlog profits
Blog profits
 
Web publishing
Web publishingWeb publishing
Web publishing
 

Creating a Custom 404 Error Page

  • 1. Creating a Custom 404 Error Page
  • 2. Every web surfer has encountered the dreaded 404 page not found error message.
  • 3. The generic error page is horrible to look at and it does not encourage web visitors to explore more of your site.
  • 4. Imagine being able to setup a custom error message page that looked good, told the visitor what had gone wrong and then suggested some alternative links to other locations on your site, such as the home page, sitemap or even a search page.
  • 5. If the visitor wanted to, they could then visit other parts of your site.
  • 6. It is very easy to setup a custom 404 error page (The 404 error is the error number returned when a page or directory is not found on your site).
  • 7. The easiest way to redirect visitors that encounter a 404 is to either send them to your sites home page or to your sitemap page
  • 8. We do this by placing a one line of code in your websites .htaccess file
  • 10. This would redirect all 404 error messages to the sitemap page.
  • 11. The path to the page you want to display, must already exist on your web server, otherwise the web server will tie itself up in a never ending loop.
  • 12.
  • 13. To make a custom error page, simply create a page using your favorite webpage editor such as MS FrontPage or DreamWeaver. The page can contain anything you wish, such as images, links etc. Save the file as something easy to remember (such as 404errors.html)
  • 14.
  • 15. This would now mean that your .htaccess command line would now look like:
  • 17. Now whenever a 404 error was generated on your site, your custom error page will be displayed, and keep your web visitors happy.
  • 18. In the upcoming article, I will expand on this idea, and show you how to you can receive an email notification that a 404 error has occurred on your site. It will tell you what caused the error, and the offending page. Allowing you to try and fix all broken links leading to your site.