Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Lead magnet download link public without opt-in: how to fix

CNV-312Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

A lead magnet is a free file (PDF, checklist, template, ebook) you give in exchange for an email address. The opt-in is the form where the visitor hands over that email.

This issue appears when the file lives at a plain public URL, such as yoursite.com/wp-content/uploads/2024/05/guide.pdf. Anyone who finds, guesses or is sent that URL can download it and never see your form.

Why it costs you leads or sales

People who get the file directly never join your list, so you cannot follow up, nurture or sell to them. The impact is usually low, but it grows if the file is popular or is paid-for material you give away.

Common ways the link leaks: Google indexes the PDF, the thank-you page link is shared on social media or forums, a customer forwards the URL, or a coupon site lists it.

How the opt-in gets bypassed
  1. Landing pageForm offers the guide
  2. Search result or shared linkPublic PDF URL found
  3. File downloadedNo email given
  4. CRM and follow-upNo contact created

The visitor reaches the file without ever touching the form.

Downloads by routeExample numbers
Downloads by route (example)Via form (lead captured): 65 downloads; Direct URL (no lead): 35 downloads025506535Via form (lead captur…Direct URL (no lead)downloads

Example: 100 downloads in a month, where 35 came straight from the file URL and never produced a lead.

How to check if your site has it

Test whether the file is open
  1. Find the file URL

    Submit your own form, then right-click the download button and copy the link address. Or check your media library or file manager for the file's URL.

  2. Open it in a private window

    Paste the URL in an incognito or private window where you are not logged in. If the file opens, it is public.

  3. Search Google for it

    Search site:yoursite.com filetype:pdf and look for your lead magnet in the results.

  4. Check the thank-you page

    Open the thank-you page URL in a private window. If it shows the download link without a form submission, that page is also open.

  5. Check your sitemap

    Open yoursite.com/sitemap.xml and look for the file or its thank-you page. Sitemaps help search engines find them.

How to fix it

Decide how strict you need to be. The common levels are: keep the file out of search, send the link only by email, and use a private link that expires. Pick the lightest one that fits.

Protect the file by platform
  1. Move the file out of public uploads

    Use a download-protection or membership plugin, or your form plugin's file delivery option if it has one, so the file is served through a private, expiring link.

  2. Noindex the thank-you page

    In your SEO plugin, set the thank-you page to noindex and remove it from the XML sitemap.

  3. Block PDF indexing

    Send an X-Robots-Tag header for the PDF (see the code below).

Keep PDFs out of search results (nginx)nginx
location ~* \.pdf$ {
    add_header X-Robots-Tag "noindex, nofollow";
}
Keep PDFs out of search results (Apache)htaccess
<FilesMatch "\.pdf$">
  Header set X-Robots-Tag "noindex, nofollow"
</FilesMatch>
Noindex tag for the thank-you pagehtml
<meta name="robots" content="noindex, nofollow">
Delivery before and after

Public URL

  • File sits in public uploads
  • Thank-you page is indexed
  • Link can be shared freely

Gated delivery

  • Link emailed after sign-up
  • Link is private or expires
  • Pages are noindexed

How to confirm it's fixed

Confirmation checks
  • The old file URL no longer opens in a private window, or it is noindexed if you chose that level.
  • The thank-you page does not show in site: searches and is not in the sitemap.
  • A fresh test sign-up still delivers the file by email or private link.
  • The emailed link works and, if set, expires as planned.
  • Any older copies of the file in other folders are removed or protected.

How to prevent it happening again

Prevention habits
  • Add a step to your launch checklist: test the file URL in a private window.
  • Use one delivery method for all lead magnets so none are uploaded to public folders by habit.
  • Noindex every thank-you page by default.
  • Re-check with site:yoursite.com filetype:pdf each quarter.
  • Use a new file name or URL when you replace a file that already leaked.

How FunnelGuard handles this

This issue is outside what FunnelGuard checks. Whether a file should be open or gated is a business choice, and finding a public URL needs a different kind of tool: a search-visibility or site-crawl tool such as Google Search Console, or a content-access and security scanner that tests which URLs respond without a login.

Frequently asked questions

Questions people ask

Why can people download my lead magnet without filling in the form?

Because the file sits at a public URL. If the link is shown on an open thank-you page, indexed by Google or shared by someone, anyone can open it without using your form.

How do I check if my PDF is public?

Copy the file URL and open it in a private browser window while logged out. Then search Google for site:yoursite.com filetype:pdf to see if it is indexed.

How do I stop my lead magnet PDF showing up in Google?

Send an X-Robots-Tag: noindex header for the PDF and noindex the thank-you page. Then remove existing results in Google Search Console under Removals if needed.

Is it bad if my lead magnet is publicly accessible?

Not always. If you value reach over email capture, an open file can be fine. It costs you leads when you expected every download to produce a contact.

How do I deliver a lead magnet securely?

Email the download link after the form is submitted, and use a private or expiring link if you need real control. Keep the file out of public media folders.

Does robots.txt protect my download file?

No. Robots.txt only asks search engines not to crawl a URL. It does not stop anyone who has the link from opening the file.

Can FunnelGuard detect a public download link?

No. This falls outside FunnelGuard's checks. It tests that your form journey works and that leads and tracking arrive, while a search-visibility or content-access scanner fits this issue.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

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.