I want to migrate into a new website from netlify.
I want to do it incrementally.
Having Home page and others still on shopify hosting
Having some other on netlify. When a user try to access to an old page. I will redirect from netlify to shopify hosting.
My question
Is there a way to keep the same domain between them? Having mysite.fr when coming on netlify page and same when redirect to shopify. I don’t think it’s possible based on my search. But I am definitely not good enough on it.
Thank’s again for your answers! If you have any docs for me
Hey @f3ltron,
You can do this by setting the custom domain on your Netlify site and then creating a netlify.toml file or _redirects file where you proxy to Shopify under the hood for old pages. It’d be easier to show you if you share your actual URLs, but as an example:
at Netlify, you’ll have mysite.fr set on my-store.netlify.app
you’ll have some pages at Netlify, like my-store.netlify.app/shoes and my-store.netlify.app/socks that can be accessed from mysite.fr/shoes and mysite.fr/socks
for older pages, you’ll have a _redirects file like this:
Hello Jen I have tried your solution and put a _rediects file in the root folder of my nuxt project and inside my static folder (I don’t know where it should be)
I am using nuxt and nuxt generate
my _redirects file:
/shirts https://melissacasilda.myshopify.com 200
But even if i put 200 it redirect to the website and not just get the content from it