home / software / tips and tricks / Redirecting a non www url to www url

Redirecting a non www url to www url

Updated:  02/20/2012 14:02 PM
Author:  Shiju Mathews

Status:    Resolved.


One of the main canonical issue with the search engine is the existence of www and non www url. This issue can be solved by redirecting all the non www url to www url. For example if browser is requesting for http://courtesyindia.com/msls/indian-currency-exchange-rate.aspx redirect the web page to http://www.courtesyindia.com/msls/indian-currency-exchange-rate.aspx

This can be done from global.asax file as follows.

Tags: Redirecting a non www url to www url
Updated on: October 2024