This question is a means of preventing automated form submissions by spambots.
What are the l a s t four characters of "c30a3c4df493ac6090d3d25a"? You must also add "xx!1.." to the answer but type "1" as a word not a number.
Smilies
:clap: :crazy: :thumbdown: :thumbup: :wtf: :yawn: :tired: :relaxed: :grin: :smile: :wink: :sad: :eek: :shock: :???: :cool: :lol: :mad: :razz: :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :neutral: :mrgreen: :geek: :ugeek: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :wave:
   

If you wish to attach one or more files enter the details below.

How to HTTP (URL) redirect in IIS without losing the query string parameters

!, 2015-12-11 19:32 »

How to HTTP (URL) redirect in IIS without losing the query string parameters.

It is needed if you change your main domain to something else or for example if you ran your domain without SSL and now you want everything to get redirected into the SSL without killing off your old links.

Add "$S$Q" in the end of your redirect URL without any spaces (http://www.yourredirectdomain.com$S$Q) and mark the checkbox "Redirect all requests to exact destination (instead of relative to destination) and status code "Permanent (301)".

Like this:

IIS URL redirect keeping parameters 0.png
IIS URL redirect keeping parameters 0.png (72.31 KiB) Viewed 12544 times

IIS URL redirect keeping parameters.png
IIS URL redirect keeping parameters.png (14.45 KiB) Viewed 12544 times

Top