I have been searching for a solution to this but can't find a good answer. I am trying to achieve the following through Wordpress with the Yoast SEO plugin.
Here is what I am trying to do: I need to redirect certain directories and their pages to a subdomain.
Example: www.example.com/directory1/lots-of-pages-here to subdomain.example.com/directory1/lots-of-pages-here
Here is the potential curveball. I don't want to migrate everything from www. to subdomain. I still want to keep specific pages on www.example.com so I can't wildcard everything.
I got to believe there is an easy approach here but I'm just not finding it. Thank you for your help.