Ruchir_76829
Nimbostratus
Jan 20, 2012IRules mobile redirects help
Hello Everyone,
I am stuck with particular type of redirects, what I need to do is ..
say a user request
abc.com/acd/dder/dr1-dc2-1245/ or http://abc.com/adv/dcb/34567/
from mobile device, so I want to take last portions numrics out
like 1245 in first URL and 34567 in second URL, and redirect it to something like site?gid=1245 or 34567
last digits are not limited with only 4 or 6 it can be abything, just numbers after - or after / .. I am unable to find out a way to do it ..
and if last digit is not numbers then just redirect to m.site.com
Please let me know if anyone can help out with it ..
Regards,
Ruchir