How to redirect from another URL

Topic summary

A store owner has two domains pointing to their Shopify store: fresh-food2u.com and myweddingtogo.com. Both currently direct to the home page.

Goal: Redirect myweddingtogo.com to automatically land on fresh-food2u.com/collections/my-wedding-to-go instead of the home page.

Considerations:

  • The user explored Shopify’s redirect guide but is uncertain how it applies to their situation
  • They’re looking for a solution within Shopify’s architecture rather than DNS-level forwarding (which would bypass Domain Connection settings)
  • The discussion remains open with no solution provided yet
Summarized with AI on November 16. AI used: claude-sonnet-4-5-20250929.

I have two URLs that point to my store. Enter either one, and you end up at the store home page.

fresh-food2u.com/
and
myweddingtogo.com

I would like myweddingtogo.comto go directly to ``fresh-food2U.com/collections/my-wedding.to-go`` instead of the home page.

I could use “forwarding” on my DNS (bypassing the whole Domain Connection bit) but I hoped there was a way to do this within the Shopify architecture. I read the guide on redirects and I’m not sure I’m thinking of redirect like Shopify does.

Thanks in advance.

1 Like

Hi @Desdinova

Option 1: Use DNS forwarding (recommended & simplest)

At your domain registrar (GoDaddy, Namecheap, etc.):

Set forwarding:

301 Permanent redirect  
myweddingtogo.com  →  https://fresh-food2u.com/collections/my-wedding-to-go

This works instantly and is fully correct for SEO.

:check_mark: No conflict with Shopify
:check_mark: Cleanest solution
:check_mark: Safest for search engines
:check_mark: Does exactly what you want

Option 2: Create a standalone Shopify “landing page” (not ideal)

You could make the domain load Shopify normally and create:

/pages/my-wedding-redirect

and insert a JavaScript redirect:

<script>
window.location.href = "/collections/my-wedding-to-go";
</script>

Then set myweddingtogo.com as the primary domain and set the homepage to redirect.

But this is not recommended because it causes a flicker and is bad for SEO.

Best regards,
Devcoder :laptop:

1 Like

Thanks Devcoder,
Should I ‘delete’ that domain name from Shopify (under Settings/Domains) and remove the current Shopify related CNAME records from the DNS ? Kinda seems prudent, but thought I would ask.

Thanks in advance.

Shopify cannot redirect an entire connected domain (myweddingtogo.com) to a specific subpage. Shopify redirects only work within the same domain, not between domains.

To do what you want, you must either:

1. Use DNS forwarding
myweddingtogo.com → fresh-food2u.com/collections/my-wedding-to-go
(best and cleanest option)

2. Or add a theme script to redirect, but it loads after the homepage and isn’t ideal.

So: Shopify doesn’t support this natively — DNS forwarding is the correct solution.

Thanks Danishsomin11

Thanks Danishsomin11,Should I ‘delete’ that domain name from Shopify (under Settings/Domains) and remove the current Shopify related CNAME records from the DNS first? Kinda seems prudent, but thought I would ask.

Thanks in advance.

Before following the randomly generated advice of bots, use your own judgment or consult an actual expert specialized in the field.