Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Product page 404 or redirecting to home: how to find and fix it

CNV-134High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A product page URL that no longer works as intended. There are two common forms. A 404 means the server says the page does not exist. A redirect to home means the URL sends the visitor to your homepage instead of the product. Search engines often treat the second one as a "soft 404", because the page loads fine but the content the visitor asked for is missing.

Why it costs you leads or sales

The shopper clicked because the ad, email or search result promised a specific product. If they land on an error page or a generic homepage, most will leave rather than search again. You still pay for the click, and your ad platform records a visit that can never convert.

Where the journey breaks
  1. Ad or email clickLink points to /products/blue-jacket
  2. Product pageReturns 404 or redirects to the homepage
  3. Add to cartNever reached
  4. CheckoutNever reached
  5. PurchaseNo sale, no conversion tracked

The click is paid for, but nothing after the broken product URL can happen.

Sessions that can still buyExample numbers
Sessions that can still buy (example)Broken URL: 0 sessions; After 301 fix: 500 sessions01923830500Broken URLAfter 301 fixsessions

Example: 500 paid clicks a week to one product URL. Before the fix, none can reach the cart; after a 301 to the live page, most land on the product again.

How to check if your site has it

Do not only check in your admin. Test the exact URLs that visitors use, from outside your logged-in session.

Check your product URLs
  1. List the URLs that matter

    Export the final URLs from your active ads (Google Ads, Meta, TikTok and others), email campaigns, and your top organic landing pages in Google Search Console.

  2. Load each one in a private window

    Open it logged out. Note whether the product appears, whether you see a 404 message, and whether the address bar changes to your homepage.

  3. Check the status code

    Use your browser's developer tools (Network tab) or run the curl command below. You want a 200 on the product URL, or a single 301 to the right product.

  4. Review Search Console

    In Google Search Console, open Indexing > Pages and look for "Not found (404)" and "Soft 404" entries.

Show status codes and the redirect chainbash
curl -sIL -o /dev/null -w "%{http_code} %{url_effective}\n" https://example.com/products/blue-jacket

# Show each hop:
curl -sIL https://example.com/products/blue-jacket | grep -iE "^(HTTP|location)"
What the shopper sees

The shopper clicks a product link and lands on an error instead of the product.

How to fix it

Fix a broken product URL
  1. Decide what the URL should do

    If the product still exists, restore it (publish it, un-archive it or bring back its old slug). If it is gone for good, pick the closest replacement product or collection.

  2. Add a 301 redirect

    A 301 is a permanent redirect. Send the old URL to the closest relevant page, not to the homepage. Use the platform steps below.

  3. Remove catch-all redirects

    Delete any rule that sends every unknown URL to the homepage. A real 404 page with search and top collections is better than a misleading redirect.

  4. Update ads, emails and internal links

    Change them to point straight to the live URL so they do not depend on a redirect.

Add the redirect on your platform
  1. Open URL redirects

    Go to Content > Menus > View URL Redirects (or search "redirects" in the admin).

  2. Create the redirect

    Click Create URL redirect, enter the old path such as /products/blue-jacket, and the new path such as /products/navy-jacket.

  3. Check slug changes

    When editing a product's URL handle, tick Create a URL redirect when you save so the old link keeps working.

Squarespace URL mapping formattext
/old-product -> /new-product 301
Apache (.htaccess)htaccess
Redirect 301 /products/blue-jacket https://example.com/products/navy-jacket
Nginxnginx
location = /products/blue-jacket {
  return 301 https://example.com/products/navy-jacket;
}
Old link before and after

Before

  • Ad link opens /products/blue-jacket
  • Page shows 404 or lands on the homepage
  • Shopper leaves, click is wasted

After

  • Ad link opens the live product, or a 301 sends it there
  • Shopper sees the right product and Add to cart
  • Visit can convert and is tracked correctly

How to confirm it's fixed

Confirmation checklist
  • Each affected URL loads the right product in a private window
  • curl shows a 200, or one 301 followed by a 200
  • The final address is not the homepage
  • Add to cart works on the page you land on
  • Ad and email links use the live URL
  • Search Console 404 and soft 404 entries are marked Validate fix

How to prevent it happening again

Habits that stop repeats
  • Before deleting, archiving or renaming a product, search your ads and emails for its URL
  • Keep the redirect option on when changing URL handles
  • Re-test key product URLs after a theme change, migration or app install
  • Avoid catch-all redirects to the homepage
  • Keep a list of your top landing products and check them on a schedule
  • Pause ads for products you take offline

How FunnelGuard handles this

FunnelGuard detects this today. Its robot visitor loads your product page as part of a journey on a schedule and checks the page load and any redirects. If the page errors, or the visitor ends up somewhere other than the page the journey expects, the step fails.

Frequently asked questions

Questions people ask

Why is my product page showing a 404 error?

The URL no longer matches a live product. Common reasons are that the product was deleted, unpublished or archived, its slug was changed without a redirect, or a migration altered the URL structure. Restore the product or add a 301 redirect to the closest matching page.

Why does my product link redirect to the homepage?

Usually a redirect rule or app sends unknown or removed URLs to the homepage, or a product was deleted and a catch-all rule handles it. Replace it with a 301 to the closest relevant product or collection, and let truly missing pages return a real 404.

Should I redirect a deleted product to the homepage?

No. Redirect it to the most similar product or its collection. Search engines may treat homepage redirects as soft 404s, and shoppers lose the product they wanted.

How do I find all my broken product pages?

Check Google Search Console under Indexing > Pages for Not found (404) and Soft 404 entries, then test the URLs used in your ads and emails. Use curl or your browser's Network tab to see the status code and final address.

How do I fix a product 404 in Shopify?

Go to Content > Menus > View URL Redirects (or search redirects in the admin), click Create URL redirect, and map the old product path to the new one. When changing a handle, tick the option to create a redirect.

Do ads keep charging if the landing page is a 404?

Yes, clicks can still be charged while the page is broken, and the visit cannot convert. Some platforms may disapprove ads with broken landing pages, but do not rely on that. Pause or update the ad and fix the URL.

How long should a 301 redirect stay in place?

Keep it as long as the old URL still receives traffic or has links pointing to it. In practice that often means leaving it in place permanently, as it costs almost nothing.

Can I monitor product pages automatically?

Yes. FunnelGuard runs a robot visitor through your product page on a schedule and checks page load and redirects, then alerts you with a screenshot if the page fails.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: page load / redirects.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.