How to set up a 301 redirect from one of your redundant hostnames to the other?

New Member
1 0 0

My google analytics is saying i need to set up a 301 direct from one redundant host name to the other, how to i go about doing it?

Thanks

Joni.

0 Likes
Shopify Staff (Retired)
Shopify Staff (Retired)
409 0 60

Hi Joni,

Britton here with the Shopify support team.

If you have multiple domains and want to set up a 301 redirect from one to another it would need to be done under online store > domains. You would need to set one of our domains as a primary domain and then click the "redirect all traffic to this domain" button. The resulting redirection is a 301 redirect.

You can find full instructions in our documentation.

I hope that helps!

-Britton

Britton Shopify Guru
0 Likes
Highlighted

Britton's answer should do it Joni. I've done it for over 10 client stores. If that doesn't work, you may have something wrong with your cname or A record setup (have only seen this problem once).

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required): https://www.digitaldarts.com.au/google-shopping
0 Likes