not redirect to given url with query string

Redirect , Url , IIS India
  • 6 years ago

    Hi,

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

    For example,

    If we give, “domain.com/download/evalstart” that link redirect to correct URL www.domain.com/download/evalstart

    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.

    example:

    If we give, “domain.com/download/evalstart?scode=1005” server redirect to the URL "www.domain.com/download/evalstart" 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).

Contribute

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.

“The trouble with programmers is that you can never tell what a programmer is doing until it's too late.” - Seymour Cray