not redirect to given url with query string

Redirect , Url , IIS India
  • 9 years ago


    We are giving the host name without “www” . That page redirect to correct host with “ www”.

    For example,

    If we give, “” that link redirect to correct URL

    At the same time,

    If we give any URL that contains any query string the without “www”, server redirect to the URL with “www” and removed the query string.


    If we give, “” server redirect to the URL "" without querystring.

    We are using IIS server.I dont know the reason why it's not redirecting to given location when query string is given in URL. Can any one give me a sample or document to solve this?

    Regards, Karthik.

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.”