tl;dr - any way to make Shopify combine domain and URL redirects into one operation rather than 2 redirects?
*********
Detail:
(Note that the forum unhelpfully hid all the URLs in my post below, for reference I am talking about:
- herringshoes dot co dot uk/barker-shoes
- herring-shoes dot com/barker-shoes
- and the new Shopify url which is herringshoes dot co dot uk/collections/barker-shoes
…and I have used these for clarity)
We have recently migrated to Shopify from a custom platform.
On the old platform, we had herring-shoes.com and herringshoes.co.uk running concurrently, for legacy reasons.
Now we are on Shopify, our PRIMARY domain is herringshoes.co.uk, and we added herring-shoes.com as a secondary domain.
I created about 30,000 URL Redirects, to ensure a smooth (ish) transition from the old URL structure to a Shopify URL structure (obviously this was done with GraphQL). With a few hiccups, this worked fine.
The issue I now have is for redirection from an old URL on herring-shoes.com to a new URL on our new Shopify store.
For example, we had a page listing all of our products for a vendor called Barker Shoes on both herringshoes dot co dot uk/barker-shoes and herring-shoes dot com/barker-shoes. On Shopify, the new page for that is herringshoes dot co dot uk/collections/barker-shoes.
All is fine for SERPs that have herringshoes dot co dot uk/barker-shoes - there’s one 301 redirect, user goes straight to herringshoes dot co dot uk/collections/barker-shoes. All good, SEO juice preserved.
It’s a problem when the SERP is for herring-shoes dot com/barker-shoes. Shopify redirects the domain first, and only then looks for any URL redirects, so two 301s happen: the first one redirects herring-shoes dot com/barker-shoes to herringshoes dot co dot uk/barker-shoes, and only then does Shopify perform the URL redirect from herringshoes dot co dot uk/barker-shoes to the final destination of herringshoes dot co dot uk/collections/barker-shoes.
This is all fine from the POV of the customer, it’s smooth and they see what they expected to see, a collection of the shoes they searched for.
From an SEO point of view, this is less ideal. Two 301s eats up crawl budget, dilutes SEO and my SEO consultant is not happy, and I much prefer to keep them happy.
Before I go into a deep dive of research for a code-based custom app solution, is there any setting (that I have so far missed) to get Shopify to redirect straight from herring-shoes dot com/barker-shoes to herringshoes dot co dot uk/collections/barker-shoes ?
Having a secondary domain is no good - this whole thing is about SEO, we want one primary domain only. Shopify does not allow creation of URL redirects with an absolute domain, ie, I cannot create a redirect from https://herring-shoes dot com/barker-shoes to /collections/barker-shoes
Many thanks,
G