« Previous Next »

Thread: Beginner question - rewrite-rule with multiple querystring, but not all required?

Last post 10-13-2008 12:52 PM by ruslany. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 10-12-2008, 4:49 PM

    • iki_81
    • Not Ranked
    • Joined on 03-07-2008, 12:39 PM
    • Posts 3

    Beginner question - rewrite-rule with multiple querystring, but not all required?

    Hi!

    I just got a new Windows Server 2008 and Im trying to set up some url-rewrite rules.
    I tried do it with both a blank rule by my self and the template.

    Im trying to rewrite like this
    www.mydomain.com/articles/one/two/three
    www.mydomain.com/articles.aspx?param1=one&param2=two&param3=three

    The thing is that not all querystrings are required, the link can also be without querystrings or with just one or two?
    Do I have to add 4 different rules to the URL-rewrite-module or can I write it some other way?

    Thanks

  • 10-13-2008, 12:52 PM In reply to

    • ruslany
    • Top 25 Contributor
    • Joined on 07-01-2007, 3:38 PM
    • Redmond, WA
    • Posts 661

    Re: Beginner question - rewrite-rule with multiple querystring, but not all required?

    You will have to add 4 different rules.

    http://ruslany.net
Page 1 of 1 (2 items)
Microsoft Communities