I’m trying to find a way to redirect with changing uri on the fly.
It’s easy task: site.com/old/__any_path 301 redirect to archive.site.com/__any_path
hanlde_path and uri doesn’t help because they don’t redirect.
If use usual redirect than it gets uri and the result is: archive.site.com/old/__some_path
Sorry if it already was questioned but I didn’t find clear answer about right way to do it.