Creating Custom 404 Error Pages Washington PA

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

Local Companies

SolDesign Studios
412-913-1158
24 Patton Dr.
Pittsburgh, PA
Action Creative
412- 884-2212
1055 Teal DR
Pittsburgh, PA
Localnet Corp
(724) 225-6872
Washington, PA
Linequest Communications
(724) 222-2750
980 Chartiers St
Washington, PA
Mgn Logistics
(610) 997-0575
117 W Frankford St
Bethlehem, PA
Wsi Internet Consulting & Education
(215) 542-3868
130 Davis Dr
North Wales, PA
Localnet Corp
(717) 637-9552
Hanover, PA
Sellstufflocal
(717) 791-3970
2225 Sycamore St
Harrisburg, PA
Direct Response
(412) 921-6881
PO Box 16530
Pittsburgh, PA
Intrasys Network Technologies
(610) 824-7842
207 Lehigh Ave
Palmerton, PA

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

Featured Local Company

SolDesign Studios

412-913-1158
24 Patton Dr.
Pittsburgh, PA
www.soldesignstudios.com


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