Link expired WordPress Origin: Application & API OSI layer 7 · Application Last updated 14 Oct 2026

WordPress: The link you followed has expired

Usually an upload (theme, plugin, media) larger than PHP’s upload/post limits — WordPress receives an empty request and shows this generic message.

Exact message you may see The link you followed has expired
Seen on: WordPress PHP

Meaning

When a request exceeds post_max_size, PHP discards the whole POST body, including WordPress’s nonce, so the nonce check fails with “link expired”. Genuine expired nonces (forms left open for over 24 hours) cause it too.

Common causes

  • Upload bigger than upload_max_filesize / post_max_size
  • Request taking longer than max_execution_time
  • Form left open longer than the nonce lifetime
  • Caching plugin serving stale nonces

⚡ Quick fix

  1. Raise upload_max_filesize and post_max_size (post ≥ upload)
  2. Upload large themes/plugins via FTP or WP-CLI instead
  3. Reload the page and resubmit
  4. Exclude admin/form pages from page caching

Detailed fix by platform

PHP

  1. .user.ini / php.ini (shared hosting: cPanel → MultiPHP INI Editor):
    ini
    upload_max_filesize = 128M
    post_max_size = 128M
    max_execution_time = 300
    memory_limit = 256M

WordPress

  1. wp plugin install ./plugin.zip --activate bypasses browser upload limits.

How to diagnose

  1. Size — How big is the upload?
  2. Limits — Media → Add New shows the max upload size
  3. Cache — Is the form page cached?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Application & API. Errors that are often confused with or caused by this one (click to open):

100 — HTTP 100 Continue (HTTP)100413 — HTTP 413 Content Too Large (Request Entity Too Large) (HTTP)413413 (Cloudflare 100 MB) — Cloudflare 413 Request Entity Too Large (upload over the plan limit) (Cloudflare)413 (Cloudflare 100 M…417 — HTTP 417 Expectation Failed (HTTP)417Are you sure you want to do this? — WordPress: Are you sure you want to do this? Please try again. (nonce check failed) (WordPress)Are you sure you want…BadDigest — Upload error: checksum mismatch (BadDigest / Content-MD5 did not match / XAmzContentSHA256Mismatch) (API)BadDigestCritical error — WordPress: There Has Been a Critical Error on This Website (WordPress)Critical errorEntityTooLarge — S3 EntityTooLarge: Your proposed upload exceeds the maximum allowed size (AWS)EntityTooLargeLink expi…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.