I have to redirect any incoming URL with the text 'dummy'
eg: www.somesite.com/dummy1 
    www.somesite.com/DUMMY23
to a pre-defined page, where I would be fetching actual URL for dummy URL using SQL.
And then redirect to the actual URL www.somesite.com/content/abc/xyz

SQL and later part can be done but I can't figure out how to send the incoming dummy URL to proxy page(using query string) so that using that I can get actual URL.
something like : www.somesite.com/proxy?dum=dummy1 can it be done?

In web.config I can match pattern for the URL if it contains 'dummy' but later part I need some guidance or any other approach is also welcome.

Related posts

Recent Viewed