Redirect to different location on same domain

Using Transparent Proxy. It is set up correctly because it works for other redirects that don’t have the following problem:

Want to redirect calls to:

www.xyz.com

to

www.xyz.com/mobile

so everyone gets sent to the low-bandwidth site.

This fails because when the first hit on the redirect is done, it “sees” itself because the domain is the same. Gets stuck in a loop for awhile then errors out in browser.

Any thoughts on how to handle this?

Thanks.

try this
/ip proxy access
add action=deny disabled=no dst-host=xyz.com dst-port=“” redirect-to=www.xyz.com/mobile