Redirect to another website, keeping the path

i want to make so if someone goes to mywebsite.com/CIS, it will redirect to example.com/jams (obviously not the real domains). i made a redirect rule, but when it redirects, it just goes to example.com and not example.com/jams. how would i make it so it keeps the path?
Was this page helpful?