How do I change the shareable link for a discount code?

Topic summary

A store owner wanted to shorten their discount code URL from STORE.com/discount/CODE to simply STORE.com/CODE for advertising purposes.

Solution provided:

  • Use Shopify’s built-in URL redirect feature
  • Navigate to: Online Store → Navigation → View URL Redirects → Create URL Redirect
  • Add the desired short link in the bottom field and the full shareable discount link in the top field

Outcome:

  • The solution worked successfully
  • Issue resolved
Summarized with AI on November 25. AI used: claude-sonnet-4-5-20250929.

Hi Shopify! I have a quick question today.

Our store will be offering a discount code, and we will be advertising with a URL. Currently, our discount URL is:

STORE.com/discount/CODE

Ideally, I’d like to shorten it to:

STORE.com/CODE (removing the “/discount” portion)

Can this be done with a redirected page or app?

Thanks beforehand for your time!

1 Like

You can do your own url redirect.
From your shopify dashboard, click on Online Store, then Navigation, then in the top right hand corner of that window there should be View Url Redirects, then Create Url Redirect.

Add the shareable link in the bottom field and whatever you want the link to be in the top field.

Wow, that was shockingly easy! Worked like a charm. Thank you for the clear response and your help. Much appreciated.

not a drama, happy to help!