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?
4 Replies
Try Redirecting
mywebsite.com/*
to example.com/${1}
how would that make it so it keeps the path?
That’s the pattern I sent above
its just going to mywebsite.com/example.comexample.comexample.comexample.comexample.comexample.comexample.comexample.comexample.comexample.comexample.comexample.com and so on
mywebsite.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/example.com/$%7B1%7D
thats the full thing
ok i figured out how to make it redirect to a path on example.com thats equal to mywebsite.com but thats not what i want
but its a step in the right direction ig
also i think i figured out the problem
the path i want to direct to starts with a ?
when i remove it, it goes to the path just fine
ok i got it
had to uncheck preserve query string