How to Fix Shopify Broken Links and 404 Pages

Broken links and 404 errors are common issues that Shopify store owners may encounter as their websites grow and change. You might delete an old product, rename a collection, update a page URL, or reorganize your store navigation. Although these changes may seem small, they can create broken links that prevent customers and search engines from accessing important pages.

When visitors click a link and land on a 404 Page Not Found error, they may leave your website without exploring other products or completing a purchase. Broken links can also waste search engine crawling resources and make it harder for search engines to discover important pages.

For Shopify stores, maintaining a clean URL structure and fixing broken links is an important part of technical SEO and website maintenance.

The good news is that Shopify provides built-in URL redirect functionality, while tools such as Google Search Console and website crawlers can help identify pages that need attention.

In this guide, we’ll explain what Shopify broken links and 404 pages are, why they happen, how to find them, and how to fix them using practical methods that help maintain your website’s usability and SEO performance.

1. What Are Broken Links and 404 Errors?

A broken link is a hyperlink that points to a page or resource that cannot be accessed at its intended location.

When a visitor or search engine attempts to open a URL that doesn’t exist, the server may return an HTTP 404 status code.

A 404 error means that the requested page was not found.

For example, imagine your Shopify store previously had this product URL:

https://www.example.com/products/blue-cotton-shirt

You later delete the product or change its URL to:

https://www.example.com/products/blue-cotton-tshirt

If another page, blog post, or external website still links to the old URL, visitors may encounter a 404 error.

Not every 404 error is necessarily a problem. If a page has been intentionally removed and no longer needs to exist, returning a 404 can be appropriate. Problems arise when important pages have broken internal links or valuable old URLs are not redirected to relevant replacements.

2. Why Do Shopify Stores Have Broken Links?

Several situations can create broken links in a Shopify store.

Deleted products: Removing products without updating links can leave old URLs accessible through blog posts, navigation menus, and external websites.

Changed product URLs: Editing a product’s URL handle can make previously shared links outdated.

Deleted collections: Removing a collection may cause links from homepage sections, menus, and other pages to stop working.

Updated page URLs: Changing About Us, Contact, FAQ, or other page URLs can create broken links when older URLs remain in use.

Incorrect navigation links: A manually entered URL may contain spelling mistakes, missing characters, or an incorrect destination.

Theme customization: Custom Liquid code, buttons, and homepage banners may contain outdated URLs after a store redesign.

External website links: Links pointing to other websites can become broken when those websites remove or change their pages.

Migration from another platform: Moving from WooCommerce, Magento, or another eCommerce platform to Shopify can leave old URLs that need appropriate redirects.

Identifying the original cause helps you choose the correct solution instead of creating unnecessary redirects.

3. How Do Broken Links Affect Shopify SEO?

Broken links can affect both the user experience and technical SEO of your Shopify store.

Poor User Experience

Customers expect links to take them to the information or products they want. When they encounter a 404 error, they may become frustrated and leave your store.

This can interrupt the shopping journey and reduce opportunities for conversions.

Lost Link Equity

If an old product or collection URL has earned valuable external backlinks, removing it without a relevant redirect may prevent visitors and search engines from reaching the replacement page through that URL.

A properly implemented redirect can help preserve the value of relevant links.

Crawling and Indexing Problems

Search engines discover pages by following links. Broken internal links can make important pages harder to discover and waste crawling resources.

Outdated Search Results

Sometimes, Google may continue showing an old URL in search results after a page has been removed. Visitors clicking that result may encounter a 404 page.

Important: Having some 404 URLs does not automatically damage your entire website’s rankings. Google understands that websites regularly remove and update pages. The priority is to fix broken links that affect important content and provide relevant alternatives for permanently changed URLs.

4. How to Find Broken Links on Your Shopify Store

Before fixing broken links, you need to identify which URLs are affected. There are several tools that can help you discover 404 errors and outdated links.

Google Search Console

Google Search Console is one of the most useful tools for identifying indexing issues on your Shopify website.

You can use it to:

  1. Open your Google Search Console account.
  2. Select your Shopify website property.
  3. Navigate to the Page indexing report.
  4. Review URLs that Google couldn’t index.
  5. Look for pages reported as Not found (404).
  6. Inspect affected URLs to understand their indexing status.

Keep in mind that this report shows URLs Google has discovered and processed. It does not necessarily identify every broken internal link on your website.

Shopify Analytics

Shopify Analytics can help you understand how visitors interact with your website, including which landing pages receive traffic.

Review your landing page reports and investigate outdated URLs that may still receive visits.

This can help you identify old product or collection URLs that deserve attention.

Website Crawling Tools

Website crawlers can scan your Shopify store and identify broken internal and external links.

Some useful options include:

  • Screaming Frog SEO Spider
  • Ahrefs Site Audit
  • Semrush Site Audit
  • Sitebulb

These tools can help identify broken links, redirect chains, missing pages, and outdated URLs.

Manual Link Checking

For smaller Shopify stores, manually reviewing navigation menus, footer links, homepage banners, and important product pages can also be useful.

Check buttons such as Shop Now, View Collection, Learn More, and Buy Now to make sure they lead to the correct destinations.

5. How to Fix Shopify 404 Errors Using URL Redirects

One of the easiest ways to fix Shopify 404 errors is by using the built-in URL Redirects feature.

Shopify allows you to redirect visitors from an old URL to a new destination.

For example:

Example: Shopify URL redirect

Old URL – 404

/products/blue-cotton-shirt

New URL – Redirect destination

/products/blue-cotton-tshirt

Visitors accessing the old URL are automatically sent to the relevant replacement page through a permanent redirect.

Steps to Create a URL Redirect in Shopify

  1. Log in to your Shopify Admin.
  2. Navigate to Content → Menus or the URL redirects area under Shopify’s navigation, depending on your admin version.
  3. Open URL Redirects.
  4. Click Create URL redirect.
  5. Enter the old URL in the Redirect from field.
  6. Enter the new destination in the Redirect to field.
  7. Save the redirect.

Example:

FieldURL
Redirect from/products/old-product
Redirect to/products/new-product

After saving, test the old URL in your browser to make sure it redirects correctly.

You can also import multiple redirects using a CSV file when handling a large number of outdated URLs.

Important: Redirect users to the most relevant replacement page. Avoid redirecting every deleted product or broken URL to your homepage because irrelevant redirects can create a poor user experience and may be treated as soft 404s by search engines.

6. How to Fix Broken Product Links on Shopify

Product URLs can become broken when products are deleted, renamed, or moved to different collections.

If an existing product URL no longer works, first determine whether the product is temporarily unavailable or permanently discontinued.

Here are some practical solutions:

If the product URL has changed: Create a redirect from the old product URL to its updated URL.

If the product is temporarily unavailable: Keep the product page active when appropriate and provide availability information or alternative products.

If the product is permanently discontinued: Redirect the old URL to a closely related replacement product or relevant collection if one exists.

If there is no relevant replacement: Allow the URL to return a genuine 404 or 410 response rather than sending visitors to an unrelated page.

Also review product links in your homepage sections, blog articles, featured collections, and navigation menus.

7. How to Fix Broken Collection and Page Links

Shopify collections and content pages can also generate 404 errors when their URL handles change.

For example, you may rename a collection from:

/collections/mens-fashion

to:

/collections/mens-clothing

If your navigation menu still links to the old URL, visitors may reach a broken page.

To fix this:

  1. Open your Shopify Admin.
  2. Navigate to Content → Menus.
  3. Review your main navigation and footer menus.
  4. Find links pointing to outdated collections or pages.
  5. Replace the old destinations with the correct URLs.
  6. Save your changes and test the links.

You should also check homepage banners, promotional buttons, custom landing pages, and blog content for outdated destinations.

Updating internal links directly is preferable to relying entirely on redirects because it reduces unnecessary redirect requests.

8. How to Fix Broken Links After Changing Your Shopify Theme

A Shopify theme redesign can introduce broken links if old theme sections, custom Liquid snippets, or navigation elements are not updated correctly.

This is particularly common when moving from an older theme to a new Shopify theme.

Check the following areas after a theme update or redesign:

  • Homepage promotional banners
  • Featured collection sections
  • Product recommendation widgets
  • Header navigation menus
  • Footer navigation links
  • Custom Liquid sections
  • Blog post buttons
  • Image links and promotional graphics

For example, a custom Liquid button might contain an outdated hardcoded URL:

<a href="/collections/old-products">
  Shop Now
</a>

If the collection URL changes, update the destination:

<a href="/collections/new-products">
  Shop Now
</a>

Where possible, use Shopify’s dynamic Liquid objects and URL filters instead of hardcoding destinations.

For example:

<a href="{{ routes.all_products_collection_url }}">
  Shop All Products
</a>

This makes your theme easier to maintain when store URLs or navigation structures change.

9. How to Create a Custom Shopify 404 Page

Even after fixing important broken links, some visitors may still land on URLs that no longer exist.

A helpful custom 404 page can guide them back to useful parts of your store.

Instead of displaying a plain error message, create a page that helps visitors continue shopping.

A good Shopify 404 page should include:

  • A clear Page Not Found heading.
  • A short, friendly explanation.
  • A prominent Return to Homepage button.
  • A link to your main product collections.
  • A product search option.
  • Links to popular categories or best-selling products.

Website Speed Optimization Tips for Shopify Stores – Shopify

shopify.com

Example Shopify 404 Page Content

Page Not Found

Sorry, the page you’re looking for may have been moved, removed, or is temporarily unavailable.

Don’t worry! You can explore our latest products or return to our homepage to continue shopping.

Suggested buttons:

  • Back to Homepage
  • Explore Collections
  • Search Products

Customize the Shopify 404 Template

Most Shopify themes include a dedicated 404 template.

You can find it under:

Online Store → Themes → Edit code → Templates → 404.json

Depending on your theme, you may also have a corresponding 404 section that controls the page content.

You can customize the template through the theme editor or modify the relevant section code.

Keep the design consistent with your store branding and make it easy for visitors to find alternative pages.

10. Should You Use a 301 Redirect or 410 Gone?

Not every removed Shopify URL should receive a redirect. The correct response depends on whether a replacement page exists and whether the old content should remain accessible.

A 301 redirect indicates that a page has permanently moved to another URL.

A 410 Gone response indicates that a resource has been intentionally and permanently removed.

SituationRecommended approach
Product URL changed301 redirect
Collection URL changed301 redirect
Page moved to a new URL301 redirect
Old product has a relevant replacement301 redirect
Permanently removed page with no replacement404 or 410
Temporarily unavailable productKeep the page when appropriate
Broken internal navigation linkUpdate the original link

For most Shopify merchants, built-in URL redirects are sufficient for managing permanent URL changes.

Shopify does not provide a standard built-in 410 response setting for ordinary URL redirects. If you need specific 410 behavior, it may require a suitable technical implementation or platform-level support.

Avoid creating redirects simply to eliminate every 404 reported in Google Search Console. Some 404s are expected and do not need to be redirected.

11. How to Fix 404 Errors After Migrating to Shopify

Migrating from another eCommerce platform can create a large number of broken URLs.

Your previous website may have used a different URL structure for products, collections, categories, and content pages.

For example:

Old WooCommerce URL:

/product/organic-cotton-shirt/

New Shopify URL:

/products/organic-cotton-shirt

If visitors or search engines still access the previous URL, they may encounter a 404 error unless an appropriate redirect exists.

To manage migration-related broken links:

  1. Export your old website URLs.
  2. Export the corresponding new Shopify URLs.
  3. Match old URLs with their relevant new destinations.
  4. Create 301 redirects in Shopify.
  5. Import redirect records in bulk if necessary.
  6. Update internal links wherever possible.
  7. Submit your Shopify sitemap to Google Search Console.
  8. Monitor indexing reports and test important URLs.

Pay particular attention to old URLs that receive organic traffic or have valuable backlinks.

A properly planned redirect strategy helps visitors reach the correct pages after a platform migration.

12. How to Monitor Shopify 404 Errors Regularly

Fixing broken links once is not enough. New 404 errors can appear whenever you delete products, update collections, redesign your theme, or modify navigation.

Create a regular website maintenance routine.

Weekly checks:

  • Review important landing pages.
  • Check homepage and navigation links.
  • Investigate customer-reported broken links.

Monthly checks:

  • Review Google Search Console indexing reports.
  • Crawl important website pages.
  • Check redirect destinations.
  • Identify new broken internal links.

After major website updates:

  • Test product and collection URLs.
  • Review theme navigation.
  • Check custom Liquid buttons.
  • Verify redirects after changing URL handles.

Keeping track of these issues helps maintain a clean website structure and reduces unnecessary customer frustration.

13. Best Practices to Prevent Shopify Broken Links

Preventing broken links is easier than fixing hundreds of errors later. Follow these practices to maintain a healthy Shopify website:

  • Avoid changing product and collection URLs unnecessarily.
  • Always create redirects when permanently changing important URLs.
  • Update internal links immediately after changing page destinations.
  • Check navigation menus after theme updates.
  • Avoid deleting important pages without reviewing their traffic and backlinks.
  • Use descriptive and consistent URL handles.
  • Regularly crawl your website to identify broken links.
  • Remove outdated links from blog posts and promotional banners.
  • Test redirects before publishing major website changes.
  • Maintain a backup of your important URL structure during migrations.

A consistent URL management strategy helps maintain website usability and supports long-term technical SEO.

Broken links and 404 errors are common technical SEO challenges for Shopify store owners, especially when products, collections, pages, and themes change over time.

However, these issues can be managed with regular website audits and a proper URL redirect strategy.

Start by identifying broken links through Google Search Console and website crawling tools. Then update internal links, create relevant 301 redirects, and customize your Shopify 404 page to help visitors find what they need.

Remember that not every 404 error needs a redirect. Focus on important URLs, valuable backlinks, and pages that still receive traffic.

With consistent maintenance and proper Shopify development practices, you can keep your store accessible, improve the shopping experience, and maintain a well-organized website structure.

At Themetidy, we help Shopify merchants build, customize, and optimize their stores with attention to performance, functionality, and technical SEO. Whether you need Shopify theme customization, URL structure improvements, or technical SEO support, maintaining a healthy store is essential for long-term growth.

Frequently Asked Questions (FAQs)

1. What causes 404 errors on Shopify?

Shopify 404 errors commonly occur when products, collections, or pages are deleted, URL handles are changed, or links point to incorrect destinations.

2. How do I fix a 404 error on Shopify?

Identify the broken URL and determine whether a replacement exists. If the page has moved, create a relevant 301 redirect using Shopify’s URL Redirects feature.

3. Do Shopify 404 errors affect SEO?

Broken internal links and important missing pages can negatively affect user experience and website discoverability. However, normal 404 responses for intentionally removed pages do not automatically harm your entire website’s SEO.

4. How do I find broken links on Shopify?

Use Google Search Console, Screaming Frog, Ahrefs, Semrush, or other website crawling tools to identify broken URLs and outdated links.

5. What is the difference between a 301 redirect and a 404 error?

A 301 redirect sends visitors and search engines to a permanently moved page. A 404 response indicates that the requested page cannot be found.

6. Should I redirect all Shopify 404 pages to the homepage?

No. Redirecting unrelated URLs to the homepage can create a poor user experience and may be treated as a soft 404. Redirect only to relevant replacement pages.

7. Does Shopify automatically create redirects when changing product URLs?

Shopify generally offers an option to create a URL redirect when changing an existing URL handle. Make sure the option is enabled and verify the redirect afterward.

8. Can I bulk-create Shopify URL redirects?

Yes. Shopify supports importing URL redirects using a CSV file, making it easier to manage large numbers of outdated URLs.

9. What is a soft 404 error?

A soft 404 occurs when a page appears to be missing or contains no meaningful content but returns a successful HTTP status instead of an appropriate 404 response.

10. How often should I check broken links on Shopify?

Check important links regularly and perform a more complete website audit monthly or after major theme updates, product removals, and URL changes.

Founder & Shopify Expert
15+ Years of Experience

Ready to Build Your High-Converting Shopify Store?

Get a free store review and custom growth plan from a 15+ year Shopify expert.

Free Store Audit

Detailed analysis of your store performance

Actionable Plan

Step-by-step plan to increase sales & conversions

Expert Support

15+ years of Shopify experience by your side

15+

Years of Experience (Since 2010)

500+

Stores Built Worldwide

$100M+

Revenue Generated for Our Clients*

30+

Countries We Serve