Hi all,
My company is looking to move away from our Shopify site and migrate to a more headless architecture and the plan would be to have multiple projects hosted on Netlify that will be serving different purposes.
For example, we would have a NextJS site for our blog and generic content pages pulling data from a Headless CMS etc and another NextJS site for our storefront pages such as Product page and Collection pages using Shopify hydrogen.
We are now wondering how do we setup the domain redirects to decide which project to send the visitor too when they visit our site?
To note, this will be a incremental process where we would like to send visitors to our new content site first depending on the URL requested such as ‘domain.com/shipping’ etc and all other traffic to other URLs such as ‘domain.com/products/123’ would be sent to our current Shopify site until our storefront project was ready and then we would to send people to the Netlify hosted project instead of the Shopify hosted site.
We do have Cloudflare setup for our domain and we was thinking that we could possibly use that to determine where the visitor ends up based on the request URL but we are after some more advice and guidance on how to manage this kind of set up.
Thanks
Thomas