Correct Way to Move WordPress to Subdomain and Shop to Stay at root Domain
I have a WordPress website with WooCommerce configured. The root domain xyz.com is set to the shop but the blog is at xyz.com/blog. Now I want to move the blog to blog.xyz.com and keep the shop at the root domain.
What would be a best way for this?
Do I have to install additional WordPress in some other folder? Or is there is an easy way to do it with the current installation.
Thanks.