Website Promotion
  Home arrow Website Promotion arrow Page 2 - 404 Trick for Web Promotion
SEO Chat Forums  
Choosing Keywords  
Google Optimization  
Link Trading  
MSN Optimization  
Search Engine News  
Search Engine Spiders  
Search Optimization  
Web Directories  
Website Marketing  
Website Promotion  
Website Submission  
Yahoo Optimization  
SEO Tools
Adsense Calculator
AdSense Preview
Advanced Meta-Tags
Alexa Rank Tool
Check Server Headers
Class C Checker
Code to Text Ratio
CPM Calculator
Domain Age Check
Domain Typos
Future PageRank
Google Dance
Google Keywords
Google Search
Google Suggest
Google vs Yahoo
Indexed Pages
Keyword Cloud
Keyword Density
Keyword Difficulty
Keyword Optimizer
Keyword Position
Keyword Typos
Link Popularity
Link Price Calculator
Meta Analyzer
Meta Tag Generator
Multiple Link Popularity
Page Comparison
Page Size
PageRank Lookup
PageRank Search
Robots.txt Generator
ROI Calculator 
S.E. Comparison 
S.E. Keyword Position 
Site Link Analyzer 
Spider Simulator 
URL Redirect Check 
URL Rewriting 
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
SEO Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEBSITE PROMOTION

404 Trick for Web Promotion
By: Burhan Khan
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 9
    2004-12-27

    Table of Contents:
  • 404 Trick for Web Promotion
  • Setting up IIS for custom errors
  • Linking
  • A Well-Designed Error Page

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    404 Trick for Web Promotion - Setting up IIS for custom errors


    (Page 2 of 4 )

    In order to get a static looking page name, you need to customize IIS. I recommend that you use IIS 5, because it uses two great objects (Server.Execute and Server.Transfer) in your Active Server Page. IIS 4 uses Response.Redirect, which is not suitable for this purpose, because search engines can see that the page is redirecting. Also, it opposes the rules of SE. Using redirection can even cause search engines to ban a website, which means that they will not index any page coming from that website.

    Now you need to tell IIS that you want an Active Server Page (404.asp) to handle all the 404s that come to the site. First open Internet Service Manager and right click on the website for which you want to set the custom 404 error. Click on properties and choose the Custom Error tab. Now you will see a list of HTTP errors. Click on the 404 HTTP error and you will see the filename that is already associated with this error. All you need to do is edit this file directory by choosing Edit Properties. Now you can tell the URL about the custom 404 error (404.asp) file.

    After you make this change, all 404 errors will be handled by 404.asp. An interesting thing about IIS is that it sends the page name that caused the error as parameters in the querystring.

    Creating the database

    Now let's consider a website which shows 100 products. We design one page (product.asp) to handle these 100 products. Now we only pass product id to that page and, corresponding to that product id, we fetch records of that product. The URLs look something like this:

    www.mysite.com/product.asp?id=3

    Surely those product ids are stored in the database along with other fields such as product name, price etc. We need to add one more field, say PageName. The PageName field will contain a suitable file name for that product. Remember, this file will not physically exist. Just like this:

    IDPRODUCT NAMEPRICE.......PAGENAME
    1Moviemaker for P800$200 .......Moviemaker-for-p800.htm
    DVD to Pocket PC$100 .......DVD-to-pocket-PC.htm
    3Samsung C100$150 .......Samsung-C100.htm

    Using the database for that purpose is easy to handle and easy to remember. We fix the desired static looking pages in the database. These file names should follow the product name and, if possible, should contain keywords.

    More Website Promotion Articles
    More By Burhan Khan


       · Whenever I use the char ? in an url,like products.asp?id=2 it says:...
       · I've recently started exploring the use of this myself and ran into problems with...
       · Nice to see comments from you. :)I did not test it under IIS 5. I come to know...
       · Hi'It seem to me a good solution and we at pcline www.pcline.co.il start working...
       · <% Session("Id") = ProductId Server.Transfer("/product.asp") %>Yes but...
     

    WEBSITE PROMOTION ARTICLES

    - Link Building Outside the Box
    - Protect Your Online Reputation
    - SEO Clients to Avoid
    - Short is Sweet for Web Copy Writing
    - Choosing the Domain Name of Your Dreams
    - Thwarting Content Theft
    - Book Review: The Open Brand
    - Seven Important Qualities for Good Linkbait
    - Creative Advertisements: Psychology of Winni...
    - Making Social Media Optimization Work for You
    - Responding to Negative Publicity Online
    - Creative Advertisements: the Psychology of F...
    - Take Charge of Your Online Reputation
    - Optimizing Your Press Releases
    - Building Linkbait? Do Your Homework





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
    Stay green...Green IT