johnfplut_25077
Feb 02, 2018Nimbostratus
Redirect full url with wildcard subdomain
We are switching domain names and need to redirect old urls that are in the wild.
So after the domain switch over I want to put an iRule on the old virtual server to do this. It needs to maintain the subdomain and the query string. I don't see how to maintain the subdomain.
https://123.old-domain.com/qwe/asd/zxc https://456.old-domain.com/qwe/asd/zxc
to redirect to
https://123.new-domain.com/qwe/asd/zxc https://456.new-domain.com/qwe/asd/zxc
Thanks