Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Deep link web page returns 404 without the app: how to fix it

APP-015High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

Universal Links (iPhone) and App Links (Android) use ordinary https URLs such as https://example.com/offer/spring. If the app is installed, the phone opens the app on the right screen. If it is not installed, or the visitor is on a laptop, the browser loads that same URL from your server.

The issue appears when that URL only exists inside the app. The server has no page for it and answers 404 Not Found. The link works for existing app users and fails for everyone else.

Where the deep link breaks
  1. Ad or email clickDeep link URL is opened
  2. App not installedPhone falls back to the browser
  3. Web fallback pageServer answers 404
  4. Store pageNever reached
  5. InstallLost

Visitors with the app get in. Visitors without it hit a 404 and never reach the store.

Why it costs you leads or sales

Paid clicks, emails and QR codes often point at deep links. New customers by definition do not have the app yet, so they are the people who get the error. You pay for the click and lose the install or the sale. Desktop visitors who open the link from an email fail in the same way.

Who gets through a deep link campaignExample numbers
Who gets through a deep link campaign (example)Have the app (open fine): 200 visitors; No app, 404 page: 800 visitors; No app, fallback works: 0 visitors03076132008000Have the app (open fi…No app, 404 pageNo app, fallback worksvisitors

Example: 1,000 clicks, where 20% already have the app. Numbers are illustrative.

How to check if your site has it

Test the web side of the link
  1. Open the URL on a desktop browser

    Paste the deep link into Chrome on a computer. Desktop never opens the app, so you see exactly what a non-app visitor sees.

  2. Check the status code

    Run the command below, or use the Network tab in browser developer tools. You want 200, or a redirect that ends in 200. A final 404 is the issue.

  3. Test on a phone without the app

    Use a device or profile where the app is uninstalled, or a private window, and tap the link from a message or email.

  4. Repeat with campaign parameters

    Add your real UTMs and click ids. Some servers 404 only when the query string is present.

Follow redirects and show the final statusbash
curl -sIL -o /dev/null -w "%{http_code} %{url_effective}\n" "https://example.com/offer/spring?utm_source=test"

How to fix it

Pick one fallback for each deep link path: a real web page with the same content, or a landing page or redirect that sends people to the right store. Do not leave the path empty.

Fix the fallback
  1. List every deep link path

    Collect the paths in your apple-app-site-association file, your Android intent filters and your campaign links.

  2. Choose the fallback for each

    Best: a web page with the same content. Otherwise: a landing page with store buttons, or a redirect to the App Store or Google Play depending on the device.

  3. Publish it at the same URL

    The page must live at the exact https URL the deep link uses, because that is what the browser loads.

  4. Keep campaign parameters

    Make sure the page or redirect does not strip UTMs or click ids.

  5. Add a catch-all for unknown paths

    Send unmatched app paths to a general page, not a 404.

Platform-specific steps
  1. Create a page at the deep link slug

    Under Pages > Add New, set the permalink to match the deep link path, and add store buttons or the content.

  2. Or add a redirect

    Use a redirect plugin you already trust, set the source to the deep link path and the target to a landing page. Choose a 301 or 302 and keep the query string.

Example: send an app-only path to a landing page (keeps the query string)nginx
location /offer/ {
    return 302 /get-the-app$is_args$args;
}
Deep link behaviour

Before

  • App users open the right screen
  • Everyone else sees 404 Not Found
  • Desktop clicks from email fail

After

  • App users still open the right screen
  • Others see a page or reach the store
  • Campaign parameters survive

How to confirm it's fixed

Confirmation checks
  • The deep link URL returns 200 on desktop, including with UTMs
  • A phone without the app reaches a page or the store
  • A phone with the app still opens the right screen
  • The final URL still carries utm_ and click id parameters
  • An unknown app path no longer shows a 404

How to prevent it happening again

Add the fallback to your release checklist: every new app route or campaign path needs a web page or redirect before the link goes live. Test links on a device without the app, not only on team phones. Re-test after site migrations, redirect changes and CMS updates, since these often delete pages that deep links rely on.

How FunnelGuard handles this

FunnelGuard detects this issue today. Its deep link fallback check loads your deep link's web URL the way a visitor without the app would, and flags it when the page answers 404. The check runs on a schedule, so a fallback that breaks after a release or a redirect change is caught without anyone testing by hand. A failure is re-checked from a second region before one alert goes out, with a screenshot and a likely cause.

You can start on the Free plan (1 site, 2 journeys, daily checks, no card), or run the free read-only website audit first.

Questions people ask

Why does my deep link show a 404 page?

The deep link is a normal https URL. If the app is not installed, the browser loads it from your server, and if no page exists at that path the server answers 404. Create a page or redirect for that path.

What should a deep link do when the app is not installed?

It should land on a live web page. Ideally that is the same content on the web, or a page or redirect that sends the visitor to the App Store or Google Play.

How do I test a deep link without the app installed?

Open the URL on a desktop browser, or on a phone where the app is uninstalled. You can also run curl with the -IL flags and check that the final status is 200, not 404.

Will adding a web page stop the app from opening?

No. Universal Links and App Links are controlled by the association files and the app's settings. A web page at the same URL is only loaded when the app does not take the link.

Do UTMs matter on the fallback page?

Yes. If the fallback redirect drops UTMs or click ids, the visit loses its campaign source. Keep the query string when you redirect.

Should I redirect deep links to the app store or a landing page?

A landing page with store buttons works well because it explains the offer and handles both iPhone and Android. A direct store redirect is simpler, but it needs device detection to pick the right store.

Can FunnelGuard tell me if my deep link returns 404?

Yes. Its deep link fallback check requests the web URL and flags a 404 response, then alerts you after a second-region re-check.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: deep_link fallback.

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.