I am looking for ideas and tips on how to go about the following as smoothly as possible.
I am in the process of overhauling a french-as-first-language shopify store, "mystore.com".
The domain name is bought and hosted by shopify
Currently the english translation sits at subdomain "en.mystore.com" and points to a dynamic translation service
Once the whole process is done, i am hoping to have the english version accessible at subdirectory "mystore.com/en"
I am planning to change translation method and hoping to improve the quality of the translation during the process, but otherwise page content would be similar.
Path would change from: "en.mystore.com/products/6550" to "mystore.com/en/products/6550"
Questions i have are these:
What would be the smartest way to create redirects to the english version?
Is there somewhere i can upload a rewrite rule instead of having thousands of redirect lines in the admin redirects page?
Anything i need to pay attention to in this process regarding search engines?
Solved! Go to the solution
One option on Shopify Advanced or Plus you can use the inbuilt international domains feature.
They can be setup with subdomains - eg:
Or a ccTLD approach like:
Then you can use a language app to help with the translations.
Another common approach I see is to use multiple Shopify store instances, Paul Rogers has a good blog post on this.
Thanks for the info Kieran,
Apologies, i think i might of not been clear with this question..
The website translation WILL effectively switch from being hosted at the subdomain "en.myshop.com" to the subfolder "myshop.com/en"
I am wondering about how to efficiently build the url redirects too get customers to the content they want and not loose google juice in the process
This is an accepted solution.
Shopify redirects can be a bit limited for subdomains because they only take in the URL path like /old-page-path as a "Redirect from", and don't have any condition based redirect capability. So there could be some potential for conflicts and other issues with existing URLs on the site.
To do it efficiently, I would say that you'd need to find repetitive redirect patterns, then apply rule-based conditional redirects hosted outside of Shopify. Assuming that the scale and complexity of the redirect mapping makes it possible to can construct the right rules. Could use a basic PHP/Apache web server running on a subdomain for this with .htaccess rules, but there's a few different ways to implement.
Also, there may be an aspect of crawling and language-detecting the existing pages in order to bulk generate redirect mapping. If that's the case then might be something that at tool like Screaming Frog extraction and hreflang detection could help with.
If it's a small number of pages like less than 1k then do it 1-to-1 manually. If a lot more, then consider more technical approaches. Really depends on the scale as to what's gonna save you time.