Website Promotion
  Home arrow Website Promotion arrow Page 4 - 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 
Mobile Linux 
APP Generation ROI 
IBM® developerWorks 
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 - A Well-Designed Error Page


    (Page 4 of 4 )

    When someone gets the generic error message, they will go away and never come back. You will lose visitors and potential customers. It will appear to them that you are not in business.

    A well-designed custom error page encourages surfers to remain at your site. Although it's possible to redirect error codes straight to your home page or site map, that doesn't tell visitors what's going on. It's more user-friendly to explain that there was a problem, and then provide some alternatives. Supply a link to your home page or site map, or offer your site's search function if you have one. Redirecting to your home page automatically after showing the error message is also a good idea.

    Also it is reasonable for you to record some attributes for error detection and correction purposes, such as the following:

    • Date and time of visit.
    • Visitor's IP number.
    • The exact URL "attempted."
    • Visitor's browser Info.
    • The referral (Bad Link Used).

    Redirecting to the original page

    Now the final thing to do is to execute the original page. For this purpose two useful objects (server.transfer and server.execute) are available with IIS 5. We can use any of these objects, but first let me  tell you which one is efficient.

    One bad thing with server.transfer is that we cannot pass querystring. This is a restriction from IIS. So we need to use session object. Just like this:

    <%
    Session("Id") = ProductID
    Server.Transfer("/product.asp")
    %>

    However, if your website seen by 10,000 users per day, then 10,000 session objects are created. It wastes bandwidth and slows down server performance.

    The next option is server.execute, and I recommend that you use it. By using server.execute, the URL will not change.

    <%
    transferURL = "/product.asp?id=" + CStr(ProductID)
    Server.execute(transferURL)
    %>

    Now if you type www.mysite.com/DVD-to-pocket-PC.htm into the browser, you will see the same page as the one that is executed by www.mysite.com/product.asp?1d=2.

    One interesting point with this phenomenon is that if we use some directory in the URL, it will not affect things and the page will still execute perfectly. Such as:

    1. www.mysite.com/DVD-to-pocket-PC.htm
    2. www.mysite.com/DVD-products/version-1.2/DVD-to-pocket-PC.htm

    These two URLs execute the same page.

    Conclusion

    Creation of URLs that are search engine friendly in easy with 404 trick. In most search engines static URLs can get ranking instead of dynamic once. And if these static URLs contain keywords, it is more beneficial. Chosen of suitable and powerful page names is still important in order to get visitor on your website.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · 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

    - More CrawlTrack Tips and Techniques for Webm...
    - CrawlTrack: Tips and Techniques for Webmaste...
    - How to Effectively Monetize Your WordPress B...
    - Blogging and SEO, a Beginner`s Guide
    - Formatting a Website with Personality Types ...
    - Copy Writing with Personality Types in Mind
    - Crafting a Website with Personality Types in...
    - Getting Included in Google News
    - Google AdWords and Yahoo Search Marketing Gu...
    - Checklists: A Blogger`s Second Best Friend
    - Top PPC Tips for Effective Marketing
    - Is Your Brand Killing Your Search Campaign?
    - Creating Your Domain Name
    - Using Images to Tell Your Story
    - Generate Traffic to Your Site by Posting in ...



     



    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 8 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek