All hope is not lost - 404 Errors

Written by Lauri Harpf


Continued from page 1

You're now done withrepparttar CGI script. Save it as "404helper.cgi", withoutrepparttar 134734 quotes of course. However, there's still work to be done, so take a deep breath and prepare yourself forrepparttar 134735 next challenge.

Editing your custom 404 page and .htaccess file ===============================================

Just havingrepparttar 134736 script will not be enough. In order for it to work, it has to be executed when an error is encountered. This isrepparttar 134737 part whererepparttar 134738 SSI's step intorepparttar 134739 picture. Open up your 404 error page in a text editor and addrepparttar 134740 following line into it:

Becauserepparttar 134741 script prints out a few rows of HTML after it has been run,repparttar 134742 best place for that line is atrepparttar 134743 bottom of your 404 error page, but beforerepparttar 134744 tag. After everything is safely in place, simply saverepparttar 134745 file, but instead of ending it withrepparttar 134746 usual ".htm" or ".html", use ".shtml". Do not forget to do this, asrepparttar 134747 SSI tag might not work if you fail to userepparttar 134748 proper extension.

Finally, you will have to editrepparttar 134749 .htaccess file you created when you built your custom 404 page. If you only have " ErrorDocument 404 http://www.yourdomain.com/404page.html " in it, modifyrepparttar 134750 file so that it will containrepparttar 134751 following:

Options Includes ExecCGI AddType application/x-httpd-cgi .cgi .pl AddType text/html .shtml AddHandler server-parsed .shtml ErrorDocument 404 http://www.yourdomain.com/404page.shtml

The new lines will enable Server Side Includes and CGI so that your script will work. Do not forget to changerepparttar 134752 ErrorDocument 404 line to point torepparttar 134753 new .shtml page instead of your old .html version. After you are done, save your .htaccess file.

Upload, set permissions and launch! ===================================

Connect to your host with an FTP program and uploadrepparttar 134754 .shtml version of your 404 page and your new .htaccess file into your root directory. Then go torepparttar 134755 directory you've reserved for CGI programs and sendrepparttar 134756 404helper.cgi file there. Make sure that you upload in ASCII, not in Binary mode! I nearly drove myself crazy by accidentally using Binary mode and then trying to figure out whyrepparttar 134757 script refused to work.

Everything is now uploaded and all that remains is to set permissions so thatrepparttar 134758 CGI program can be executed. You'll need to CHMOD 755 bothrepparttar 134759 CGI file andrepparttar 134760 directory where it is in. The steps you need to take in order to accomplish this depend on what software you are using, but here arerepparttar 134761 instructions on how to do so with WS_FTP, a popular Windows FTP program which can be downloaded from Tucows.com.

First, navigate torepparttar 134762 directory where you've uploadedrepparttar 134763 CGI program. Left-click it once to highlightrepparttar 134764 file, then right- click it. Select "chmod (Unix)" fromrepparttar 134765 menu that appears. Give Read, Write and Execute permissions torepparttar 134766 Owner and Read and Execute permissions to Group and Other. Then go intorepparttar 134767 root directory and repeatrepparttar 134768 same process withrepparttar 134769 folder ofrepparttar 134770 directory where you placedrepparttar 134771 CGI program.

That's it. The work is finally done and you can now enjoyrepparttar 134772 luxury of receiving an E-mail report on all 404 errors, allowing you to quickly stomp out any broken links and improverepparttar 134773 quality of your site. Congratulations!

Lauri Harpf runs the A Promotion Guide website, where he offers free information about search engines, directories and other promotion methods. His site can be found at http://www.apromotionguide.com/


Ten Basic Steps for Building a Web Site that Works

Written by Lee Traupel


Continued from page 1

Make your site permission-based marketing ready. We recommend Seth Godin's "Permission Marketing" book http://www.permission.com/. He champions building a long term-relationship with a customer by asking permission to continue to market to that customer and incorporating value/information in all marcom processes.

Ensure your site is optimized for search engines. Identify eight-12 keywords that people will use to find your site. Incorporate these keywords into your site content (to drive relevancy with search engine spiders/bots) and then manually submit your site torepparttar top ten search engines. We don't recommend most ofrepparttar 134733 free or $19.99 specials available; yes, all will get your site registered withrepparttar 134734 search engines, but getting listed on page 75 of 350 pages (for example) won't really drive qualified traffic to your site. You need page 1-3 listings onrepparttar 134735 top ten engines to really drive qualified traffic.

Delve into your log server files to uncover "digital tracks" made through your Web site. Your log files are raw files that show how and from where (in most cases) people accessed your Web site, where they went on your site, how long they stayed, etc.

Think global in your overall site design. The greatest Internet growth is occurring outside North America, so it is essential to build a site that can be accessed easily by people aroundrepparttar 134736 world. What issues do you need to look at? 1) Load times are very important.

2) Develop content that avoids colloquialisms that may not be understood by others who may not speakrepparttar 134737 same language. 3) You may want to make your site's content available in diverse languages (there are a number of emerging applications that will facilitate this process), ensuring your e-commerce capabilities can be utilized by all.



Lee Traupel has 20 plus years of marketing experience He is the co- founder of a Northern California and Brussels Belgium based, privately held, Marketing Services and Software Company, Intelective Communications, Inc. http://www.intelective.com Intelective focuses exclusively on providing strategic and tactical marketing services to small to medium sized companies. He can be reached at Lee@intelective.com


    <Back to Page 1
 
ImproveHomeLife.com © 2005
Terms of Use