Creating Custom 404 Error Pages

Also ask your hosting provider if you are able to modify server configurations on a directory level. Essentially...

provided by: 

Regardless of your skills as a webmaster it is undeniably important to direct users to alternate locations of a site if they are unable to access certain files instead of risking the chance that they might just navigate away. Essentially, creating custom error pages enables you to create customer error pages to display when a user enters a wrong or outdated URL, when there is an internal server error or when the user is not authorized to access a specific directory of your web space.

If you are working on an Apache server, (find out if you are running an Apache server here) the following tutorial will help you set up your own custom error pages. Also ask your hosting provider if you are able to modify server configurations on a directory level. Essentially, everything (meaning error page implementation) revolves around a file called the .htaccess file.

- First (if you do not have one) you must create the .htaccess file. To do so simply open up a text editor such as Notepad and insert one line of text in this file: ErrorDocument 404 /error-page.htm

Error page image 01

- Next, save the text file and rename it on the server to .htaccess (with nothing preceeding the dot)

- Then create an actual error page for surfers to see when they are unable to access the file they initially intended to see. It helps considerably to have a page that your users will be familair with such as one using the same design, layout, etc. You may want to include links to alternate locations within your site and possibly a search box to help them locate specific pages. Upload the error page to your server.

- Finally, visit a page you know does not exist. You should be able to see the error page you created.

Advanced Error Page Techniques:

- If you are receiving multiple requests for a missing page you can make your .htaccess file redirect any requests for missing pages to their new location. Add a line for each one in your .htaccess file that says 'Redirect /oldpage.htm /newpage.htm'. Use the full path name if the old or new files are in directories.

Error page image 02



Read full article at websitemagazine.com
Related Articles
- Fixing Dlls Errors
Getting a activesync missing dll error and other performance issues with your Computer? Looking for some tips? This article will explain how pc users can quickly fix it in just a few mouse clicks.
- Introduction Of Sitemap Generator
- Removing Dlls Errors
- How To Develop A Multilingual Web Site
- ActiveX Program
- Lead Capture Pages
- Under-Utilized Features of Most CPanel Accounts
- How to Optimize Sites
- iScrapbook Overview
- Steps To Understand HTML
Regional Articles
- Creating Custom 404 Error Pages Alabama
- Creating Custom 404 Error Pages Alaska
- Creating Custom 404 Error Pages Arizona
- Creating Custom 404 Error Pages Arkansas
- Creating Custom 404 Error Pages California
- Creating Custom 404 Error Pages Colorado
- Creating Custom 404 Error Pages Connecticut
- Creating Custom 404 Error Pages DC
- Creating Custom 404 Error Pages Delaware
- Creating Custom 404 Error Pages Florida
- Creating Custom 404 Error Pages Georgia
- Creating Custom 404 Error Pages Hawaii
- Creating Custom 404 Error Pages Idaho
- Creating Custom 404 Error Pages Illinois
- Creating Custom 404 Error Pages Indiana
- Creating Custom 404 Error Pages Iowa
- Creating Custom 404 Error Pages Kansas
- Creating Custom 404 Error Pages Kentucky
- Creating Custom 404 Error Pages Louisiana
- Creating Custom 404 Error Pages Maine
- Creating Custom 404 Error Pages Maryland
- Creating Custom 404 Error Pages Massachusetts
- Creating Custom 404 Error Pages Michigan
- Creating Custom 404 Error Pages Minnesota
- Creating Custom 404 Error Pages Mississippi
- Creating Custom 404 Error Pages Missouri
- Creating Custom 404 Error Pages Montana
- Creating Custom 404 Error Pages Nebraska
- Creating Custom 404 Error Pages Nevada
- Creating Custom 404 Error Pages New Hampshire
- Creating Custom 404 Error Pages New Jersey
- Creating Custom 404 Error Pages New Mexico
- Creating Custom 404 Error Pages New York
- Creating Custom 404 Error Pages North Carolina
- Creating Custom 404 Error Pages North Dakota
- Creating Custom 404 Error Pages Ohio
- Creating Custom 404 Error Pages Oklahoma
- Creating Custom 404 Error Pages Oregon
- Creating Custom 404 Error Pages Pennsylvania
- Creating Custom 404 Error Pages Rhode Island
- Creating Custom 404 Error Pages South Carolina
- Creating Custom 404 Error Pages South Dakota
- Creating Custom 404 Error Pages Tennessee
- Creating Custom 404 Error Pages Texas
- Creating Custom 404 Error Pages Utah
- Creating Custom 404 Error Pages Vermont
- Creating Custom 404 Error Pages Virginia
- Creating Custom 404 Error Pages Washington
- Creating Custom 404 Error Pages West Virginia
- Creating Custom 404 Error Pages Wisconsin
- Creating Custom 404 Error Pages Wyoming
Related Articles
- Under-Utilized Features of Most CPanel Accounts
Domain pointers allow you to "point" or "park" additional domain names to your existing hosting account. This will allow users to also reach your website when entering the "parked" or "pointed" domain into their browsers. Domains must be registered with a valid registrar before they can be parked and will not be functional unless they are configured to point to the your  DNS servers. Also...
- How To Develop A Multilingual Web Site
- Steps To Understand HTML
- ActiveX Program
- iScrapbook Overview
- Lead Capture Pages
- Removing Dlls Errors
- How to Optimize Sites
- Introduction Of Sitemap Generator
- Fixing Dlls Errors

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Advertising Family Home Services Real Estate Resources
Business Services Fashion Industrial Goods & Services Retail & Consumer Services
Career Financial Services Insurance Software
Cars Food & Beverage Internet Technology
Computer Hardware Franchise Legal Telecommunications
Construction Health Miscellaneous Trade Shows
Education Holidays Nightlife Travel
Entertainment Home Appliances Online Database Weddings
Environmental Home Electronics Pets World History