Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Password reset link broken or showing an error: how to fix it

DLV-193High impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

When someone clicks "Forgot password", your site emails them a link with a secret token (a one-time code that proves the request is genuine). The link should open a page where they set a new password. This issue is when that link gives a 404, an "invalid or expired" message, a blank page or a server error instead.

It affects shops with customer accounts, membership sites, course platforms, client portals and any site with a login.

Why it costs you leads or sales

People who reset a password usually want to do something right now: buy again, log in to a course, book or pay an invoice. If the link fails, many give up or buy elsewhere. Others open support tickets, which costs time. The problem is also silent: you only hear about it from the few who complain.

Where a reset journey breaks
  1. Forgot passwordCustomer submits email
  2. Reset emailArrives in inbox
  3. Click linkError or invalid token
  4. New passwordNever set
  5. Login and purchaseLost

The customer does everything right, but the link fails and the later steps never happen.

Customers who finish a resetExample numbers
Customers who finish a reset (example)Request reset: 100 people; Finish, link works: 80 people; Finish, link broken: 5 people03877100805Request resetFinish, link worksFinish, link brokenpeople

Example: of 100 people who request a reset, a working link lets most finish; a broken one lets almost none. Numbers are illustrative.

Common causes

Typical causes and what you see
CauseWhat you seeWhere to look
Token expired or already used"Invalid or expired link"Token lifetime setting; user clicked twice
Email scanner pre-opens the linkLink works for nobody, or is "already used"Security gateway (Microsoft Defender, Mimecast and similar)
Link wraps or breaks in the email404 or cut-off tokenEmail template, click tracking, line wrapping
Wrong domain or http/https or www mismatchError page or wrong siteSite URL settings
Caching or security pluginBlank page or 403Cache exclusions, firewall rules
Redirect drops the query stringReset page loads without tokenRedirect rules, login redirect plugins

How to check if your site has it

Test a reset the way a customer would
  1. Use a real test account

    Create an account with an inbox you control. Try one Gmail and one company address, because company mail often adds link scanning.

  2. Request the reset in a private window

    Use a clean browser with no logged-in session and no extensions.

  3. Time the email

    Note how long it takes to arrive and check the spam folder.

  4. Hover over the link

    Check the domain is yours, it uses https, and the full token is present. Tracking wrappers from your email tool will show a different domain.

  5. Click it once and set a password

    Then log in with the new password. Also try on a phone, in the email app's built-in browser.

  6. Click the same link again

    It should say it is used, not crash. A server error here is still worth fixing.

How to fix it

The fix depends on the platform. Start with the one you use, then work through the general causes in the table above.

Fix by platform
  1. Check the site address

    In Settings > General, make WordPress Address and Site Address match your live https domain, including www or non-www.

  2. Exclude login pages from caching

    In your cache plugin, never cache wp-login.php and any custom login or account page. Clear the cache afterwards.

  3. Disable plugins one at a time

    Security, login-customiser and redirect plugins often break the key and login parameters. Turn them off, retest, and find the culprit.

  4. Use a proper mail sender

    Send WordPress mail through an SMTP plugin so the email is not rewritten or lost. Turn off click tracking for password emails.

Example: redirect to https and keep the query stringnginx
server {
  listen 80;
  server_name example.com www.example.com;
  return 301 https://example.com$request_uri;
}
Reset link before and after the fix

Broken

  • Link opens a 404 or "invalid token"
  • Redirect removes the token
  • Old links stay active or die at once

Fixed

  • Link opens the new password form
  • Token survives every redirect
  • Expired links offer a new request button

How to confirm it's fixed

Confirmation checks
  • Reset email arrives within a couple of minutes
  • Link domain is yours and uses https
  • Link opens the new password form in a private window
  • New password saves and login works
  • Works on mobile and in a Gmail and a company inbox
  • Reusing the link shows a clear message, not an error

How to prevent it happening again

Habits that keep resets working
  • Test a full reset after every theme, plugin, domain, email provider or checkout change
  • Put a monthly reminder in the calendar to repeat the test
  • Keep cache and security rules excluding login and reset pages
  • Do not add click tracking to transactional emails
  • Watch support inbox for "link expired" messages and treat each as a warning

How FunnelGuard handles this

FunnelGuard does not check password reset links yet. It is a possible future check. Today you need to test it by hand or with another tool.

What FunnelGuard does cover nearby: it runs your real lead forms, checkouts and booking journeys on a schedule, and checks that test leads reach your inbox and CRM. If a broken login or error page sits inside one of those journeys, the failed step is re-checked from a second region and you get one alert with a screenshot. The free plan includes 1 site and 2 journeys with daily checks, and no card is needed.

To watch for reset problems meanwhile, repeat the manual test above monthly, and use a test inbox that you check after each site change.

Questions people ask

Why is my password reset link not working?

The usual causes are an expired or already used token, an email security scanner opening the link first, a redirect that drops the token, or a wrong domain in the link. Request a new reset, open it once in a private browser window, and check the link address for cut-off characters.

Why does my password reset link say invalid or expired?

Reset tokens last a limited time and work once. Requesting a second reset cancels the first link, and email scanners can use the token before the person clicks. Ask for a new link and use only the newest email.

How do I fix a password reset link that goes to a 404 page?

Check that your site address uses the right domain and https, and that no redirect or caching rule affects the reset page. On WordPress, check Settings > General and exclude the login page from caching. Then request a new reset and test again.

Why does the reset link work for me but not for my customers?

You may be testing while logged in or on the same browser that made the request. Customers often use company email with link scanning, mobile email apps or older links. Test in a private window with a company inbox and a phone.

How long should a password reset link last?

Many sites use around one hour, though the right time depends on your security needs. Very short lifetimes cause failures when email is delayed. Whatever you choose, show a clear message and a request-new-link button when it expires.

Can email click tracking break password reset links?

Yes. If your email tool rewrites links through a tracking domain, the token can be altered or the redirect can fail. Turn off click tracking for password reset and other account emails.

Does FunnelGuard check password reset links?

Not yet. It is a possible future check. FunnelGuard currently checks lead forms, checkouts, booking and chat buttons, tracking hits and whether test leads reach your inbox and CRM, so test resets manually for now.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

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.