Groups
Groups
Sign in
Groups
Groups
UrlRewrite
Conversations
About
Send feedback
Help
Multiple rules for one link
5 views
Skip to first unread message
Danjojo
unread,
Nov 27, 2009, 3:24:13 PM
11/27/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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=([^/]+)&s=([^/]+)</from>
<to type="redirect">/webstore/store/$1/home.do?sourceCode=
$2&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 PM
1/2/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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