How do I change URLs and set up redirects in Shopify?
Changing URLs and setting up redirects in Shopify helps prevent broken links, protect SEO rankings, and maintain a smooth customer experience. When updating product, collection, or page URLs, you should always create a redirect to avoid 404 errors.
Part 1: How to Change URLs in Shopify
Edit Product, Collection, or Page URLs
- Go to the item you want to edit (Product, Collection, or Page).
- Scroll to Search engine listing preview.
- Click Edit website SEO.
- Update the URL and handle field (no spaces allowed).
- Select Create URL redirect from the old URL.
- Click Save.
Shopify will automatically generate a 301 redirect if you select the redirect option. This ensures visitors and search engines are sent to the new URL.
Part 2: How to Set Up URL Redirects
- From your Shopify admin, go to Content > Menus.
- Click View URL Redirects.
- Click Create URL redirect.
- In the Redirect from field, enter the old URL.
- In the Redirect to field, enter the new URL (use
/to redirect to the homepage). - Click Save redirect.
Method 2: Import Redirects in Bulk (CSV)
- Go to Content > Menus.
- Click URL redirects.
- Click Import.
- Upload a CSV file with old and new URL mappings.
- Complete the import process.
This method is ideal when migrating from another platform or restructuring your store.
Best Practices for URL Changes and Redirects
- Always use 301 redirects (Shopify creates permanent redirects automatically).
- Avoid changing URLs frequently.
- Redirect deleted products to similar items or collections.
- Use internal links (starting with /) for multi-market stores.
- Test redirects after saving to ensure they work properly.
How to Manage Existing Redirects
- Go to Content > Menus.
- Click URL redirects.
- Select the URL redirects check box.
- Edit or delete redirects as needed.
Properly managing URL changes and redirects helps preserve SEO value, prevent traffic loss, and ensure customers always land on the correct page.
Related Answers
Still need help?
Talk to our Shopify experts
We've handled GDPR/CCPA compliance for dozens of EU & US Shopify stores.
