Multiple rules for one link

5 views
Skip to first unread message

Danjojo

unread,
Nov 27, 2009, 3:24:13 PM11/27/09
to UrlRewrite
<rule>
<from>^/store/([^/]+)/affil.asp</from>
<to type="redirect">/webstore/store/$1/home.do?
promoCode=BWRAFFILWEBMACSS</to>
</rule>
<rule>
<from>^/store/{[^/]+}/affil.asp?target=([^/]+)&amp;s=([^/]+)</from>
<to type="redirect">/webstore/store/$1/home.do?sourceCode=
$2&amp;promoCode=$3</to>
</rule>

Why does the bottom rule when I uncomment it, make the top rule stop
working?

Any help is appreciated!!

jrojas78

unread,
Jan 2, 2010, 8:24:56 PM1/2/10
to UrlRewrite
I believe it only runs the last matching rule... I would like for it
to chain the rules together if possible.
Reply all
Reply to author
Forward
0 new messages