Go Back   Web Design & SEO Company > Knowledgebase

Knowledgebase Articles and information about running a website, cPanel and various hints and tips. Here you will find tutorials on php, MySql, .htaccess, cron, SEO, Search Engines, CHMOD, FTP, CSS, HTML and various other hints and tips on running and Administrating a website.

Reply
 
Tools Display Modes
  #1  
Old 04-05-2007, 07:28 AM
Admin Admin is offline
Administrator
 
Join Date: Jan 2007
Posts: 346
Default Custom Error Pages

Ever get a complaint from a customer or visitor about broken links or error pages which seem to randomly appear on your site? Here's the solution... make your own custom error page which will forward visitors to any page you specify. You may choose to send them to your home page, or perhaps a special information page asking them to notify you of the problem.

HOW?

Make your custom page and upload it to your server. Look on your server for a file called .htaccess using your FTP program. If you do not find one, create a new file in notepad and name it .htaccess -- upload this file to your server's root directory.
Now, you will need to add a special line to the file to make your custom error page work. Click on the file on your server and click the "edit" button. Add the following text to a new line:


That's all there is to it! This "may" not work on some servers, but you never know until you give it a try.

No More Errors!
Reply With Quote

What is my IP | World Times | Domain Forum
Web Design & SEO Forums Powered by vBulletin® Version 3.7.0