Creating URL Redirection !

Discussion in 'Programming' started by sam890060, Jun 1, 2009.

  1. #1
    Check the original article here :

    http://www.hellboundbloggers.com/blogging/url-redirection

    URL redirection is also called URL forwarding, URL shortener, domain redirection and domain forwarding.

    Why to redirect a website ?

    For Similar Domain Names :

    A user accessing a particular domain name may type the wrong spelling of it. For example, consider www.hellboundbloggers.com and www.helboundbloggers.com. Here one ‘l’ is missing in the second domain name. Organizations often register these mis-spelled and redirect them to the correct domain name. Another example is redirecting domains for reserving TLDs (Top Level Domains). The addresses hellboundbloggers.com and hellboundbloggers.net could both redirect to a single domain, such as hellboundbloggers.org.

    Moving a website to a new domain :

    A webpage or website can be redirected for many reasons like the website might need to change its domain name or the author of that website might move his or her pages to a new domain.

    HTTP Status codes for redirect :

    * 300 Multiple Choices (like offering different languages)

    * 301 Moved Permanently

    * 302 Found (like temporary redirect)

    * 303 See Other (For results of CGI-Scripts)

    * 307 Temporary Redirect

    Check the original article here :

    http://www.hellboundbloggers.com/blogging/url-redirection
     
    sam890060, Jun 1, 2009 IP