I have a domain name, https://seo.example.com/
, that is currently showing up in Google Search results. I want to set up a redirect such that when visitors view that domain, they are immediately redirected to a different domain, https://www.example.com/seo/
. The complicating part is that I also want to keep the original domain in the Google search results instead of having Google display the redirect target.
My first thought was to use a 302 redirect from https://seo.example.com/
to https://www.example.com/seo/
, and set a canonical meta tag on the target page with the content https://seo.example.com/
. Would this accomplish my goal of keeping the original domain in Google search while also redirecting away from it, or would Google consider this an improper use of the canonical tag and tank the search ranking of one or both pages?
Is there a way to do this above water or is it impossible by design?